use open prop to close notification instead of internal method

This commit is contained in:
Mads Rasmussen
2022-08-10 15:14:56 +02:00
parent 30e91817da
commit 8e59eadc53

View File

@@ -70,8 +70,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.open = false;
}
/**