Skip to content

Commit

Permalink
feat(module:color-picker): supports masked layer response for each cl…
Browse files Browse the repository at this point in the history
…ick (#8429)
  • Loading branch information
OriginRing committed Apr 16, 2024
1 parent 55cbf18 commit 31b90fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/modal-ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class NzModalRef<T = NzSafeAny, R = NzSafeAny> implements NzModalLegacyAP
this._finishDialogClose();
});

containerInstance.containerClick.pipe(take(1), takeUntil(this.destroy$)).subscribe(() => {
containerInstance.containerClick.pipe(takeUntil(this.destroy$)).subscribe(() => {
const cancelable = !this.config.nzCancelLoading && !this.config.nzOkLoading;
if (cancelable) {
this.trigger(NzTriggerAction.CANCEL);
Expand Down

0 comments on commit 31b90fa

Please sign in to comment.