File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/components/tile-manager Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import { consume } from '@lit/context' ;
2- import { LitElement , html } from 'lit' ;
2+ import { LitElement , html , nothing } from 'lit' ;
33import { themes } from '../../theming/theming-decorator.js' ;
44import IgcIconButtonComponent from '../button/icon-button.js' ;
55import { type TileContext , tileContext } from '../common/context.js' ;
@@ -114,7 +114,8 @@ export default class IgcTileHeaderComponent extends LitElement {
114114 < div part ="header ">
115115 < slot part ="title " name ="title "> </ slot >
116116 < section part ="actions ">
117- ${ this . _renderAction ( maximize ) } ${ this . _renderAction ( fullscreen ) }
117+ ${ ! this . _isFullscreen ? this . _renderAction ( maximize ) : nothing }
118+ ${ this . _renderAction ( fullscreen ) }
118119 < slot name ="actions "> </ slot >
119120 </ section >
120121 </ div >
You can’t perform that action at this time.
0 commit comments