diff --git a/src/Umbraco.Web.UI.Client/src/core/services/notification/notification-handler.ts b/src/Umbraco.Web.UI.Client/src/core/services/notification/notification-handler.ts index ccae505254..d1bd93d2e0 100644 --- a/src/Umbraco.Web.UI.Client/src/core/services/notification/notification-handler.ts +++ b/src/Umbraco.Web.UI.Client/src/core/services/notification/notification-handler.ts @@ -71,7 +71,7 @@ export class UmbNotificationHandler { public close(...args: any) { this._closeResolver(...args); // TODO: make public close method on uui-toast-notification - this.element._makeClose(); + this.element._makeClose?.(); } /**