@coolon/angular-ui-powerups 14.47.1 → 14.47.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +7 -2
- package/fesm2015/coolon-angular-ui-powerups.mjs +6 -1
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +6 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10731,7 +10731,12 @@ class DialogInteractionContext extends AbstractInteractionContext {
|
|
|
10731
10731
|
if (activityContainer.isActive()) {
|
|
10732
10732
|
activityContainer.cancelActiveActivity();
|
|
10733
10733
|
}
|
|
10734
|
-
this.activityContainer
|
|
10734
|
+
if (activityContainer === this.activityContainer) {
|
|
10735
|
+
// only nullify if the close event is for the current activity. This will likely not be the case
|
|
10736
|
+
// when calling interactionContext.confirmThenExecute(..) and then starting a new activity in
|
|
10737
|
+
// after the execution.
|
|
10738
|
+
this.activityContainer = null;
|
|
10739
|
+
}
|
|
10735
10740
|
});
|
|
10736
10741
|
matDialogRef.updateSize();
|
|
10737
10742
|
matDialogRef.afterOpened().subscribe(promiseAlreadyFinished => {
|