Skip to content

Commit 9f141a2

Browse files
Fixed iModel descriptions missing from iModelGrid (#147)
* Added iModel description * Change
1 parent bf26339 commit 9f141a2

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@itwin/imodel-browser-react",
5+
"comment": "Fixed imodel descriptions not visible in iModelGrid",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@itwin/imodel-browser-react"
10+
}

packages/modules/imodel-browser/src/containers/iModelTiles/IModelTile.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export const IModelTile = ({
112112
<Tile.NameLabel>{name ?? iModel?.displayName}</Tile.NameLabel>
113113
</Tile.Name>
114114
<Tile.ContentArea>
115+
<Tile.Description>{iModel?.description ?? ""}</Tile.Description>
115116
{(moreOptions || moreOptionsBuilt) && (
116117
<Tile.MoreOptions>{moreOptions ?? moreOptionsBuilt}</Tile.MoreOptions>
117118
)}

0 commit comments

Comments
 (0)