Skip to content

Commit

Permalink
fix(module:message-box): fix message-box default param
Browse files Browse the repository at this point in the history
  • Loading branch information
ng-nest-moon committed Nov 2, 2024
1 parent 9707903 commit afffd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ng-nest/ui/message-box/message-box.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class XMessageBoxService {
opt = option as XMessageBoxOption;
}
this.setLocal();
XFillDefault(opt, Object.assign(this.default, def));
XFillDefault(opt, Object.assign({ ...this.default }, def));
return this.createMessageBoxPlacement(opt);
}

Expand Down

0 comments on commit afffd32

Please sign in to comment.