File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/notification/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
*/
6
6
import { css , html , LitElement } from 'lit' ;
7
+ import { ifDefined } from 'lit/directives/if-defined.js' ;
7
8
import { defineCustomElement } from '@vaadin/component-base/src/define.js' ;
8
9
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js' ;
9
10
import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js' ;
@@ -105,7 +106,7 @@ class Notification extends NotificationMixin(ElementMixin(ThemableMixin(PolylitM
105
106
render ( ) {
106
107
return html `
107
108
< vaadin-notification-card
108
- theme ="${ this . _theme || '' } "
109
+ theme ="${ ifDefined ( this . _theme ) } "
109
110
aria-live ="${ this . __computeAriaLive ( this . assertive ) } "
110
111
> </ vaadin-notification-card >
111
112
` ;
You can’t perform that action at this time.
0 commit comments