Commit ae8fabda by Torkel Ödegaard

fix(modal): fixed duplicate confirm modal issue

parent b289497d
...@@ -28,10 +28,6 @@ export class AlertSrv { ...@@ -28,10 +28,6 @@ export class AlertSrv {
}, this.$rootScope); }, this.$rootScope);
appEvents.on('confirm-modal', this.showConfirmModal.bind(this)); appEvents.on('confirm-modal', this.showConfirmModal.bind(this));
this.$rootScope.onAppEvent('confirm-modal', (e, data) => {
this.showConfirmModal(data);
}, this.$rootScope);
} }
set(title, text, severity, timeout) { set(title, text, severity, timeout) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment