Skip to content

Commit 6c2890f

Browse files
committed
fix(TileManager): Some tweaks in actions and layout samples.
1 parent f79c873 commit 6c2890f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

samples/layouts/tile-manager/actions/src/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ export default class Actions extends React.Component<any, any> {
106106
</IgrTile>
107107
<IgrTile disableFullscreen disableMaximize>
108108
<h3 slot="title">Custom Actions</h3>
109-
<IgrIconButton id="customOne" onClick={this.onCustomOneClick} slot="actions" variant="flat" collection="material" exportparts="icon" name="north_east"
109+
<IgrIconButton id="customOne" onClick={this.onCustomOneClick} slot="actions" variant="flat" collection="material" name="north_east"
110110
aria-label="north_east"></IgrIconButton>
111111
<p>Replace the default actions with custom ones, and include extra actions when the tile is maximized.</p>
112112
</IgrTile>
113113
<IgrTile disableFullscreen disableMaximize>
114-
<IgrIconButton id="customTwo" onClick={this.onCustomTwoClick} slot="actions" variant="flat" collection="material" exportparts="icon"
115-
name="north_east"></IgrIconButton>
114+
<IgrIconButton id="customTwo" onClick={this.onCustomTwoClick} slot="actions" variant="flat" collection="material"
115+
name="north_east" aria-label="north_east"></IgrIconButton>
116116
<p>Display only custom actions in the header.</p>
117117
</IgrTile>
118118
<IgrTile disableFullscreen disableMaximize>

samples/layouts/tile-manager/layout/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default class Layout extends Component<any, any> {
2626
newTile.position = 0;
2727
newTile.append(contentHeader);
2828
newTile.append(content);
29-
this.tileManagerRef.current.insertBefore(newTile, this.tileManagerRef.current.tiles.at(-1));
29+
(this.tileManagerRef.current as IgrTileManager).appendChild(newTile);
3030
}
3131

3232
public render(): JSX.Element {

0 commit comments

Comments
 (0)