13 lines
410 B
TypeScript
13 lines
410 B
TypeScript
export default (superClass) =>
|
|
class extends superClass {
|
|
protected firstUpdated(changedProps) {
|
|
super.firstUpdated(changedProps);
|
|
this.registerDialog({
|
|
dialogShowEvent: "hass-notification",
|
|
dialogTag: "notification-manager",
|
|
dialogImport: () =>
|
|
import(/* webpackChunkName: "notification-manager" */ "../managers/notification-manager"),
|
|
});
|
|
}
|
|
};
|