Skip to content

Commit

Permalink
fix(module:modal): fix incorrect assignment of 'nzFooter' (#6468)
Browse files Browse the repository at this point in the history
close #6467
  • Loading branch information
stygian-desolator committed Mar 3, 2021
1 parent b96cf94 commit 85ea273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/modal-footer.component.ts
Expand Up @@ -19,7 +19,7 @@ import { ModalButtonOptions, ModalOptions } from './modal-types';
template: `
<ng-container *ngIf="config.nzFooter; else defaultFooterButtons">
<ng-container *nzStringTemplateOutlet="config.nzFooter; context: { $implicit: config.nzComponentParams, modalRef: modalRef }">
<div *ngIf="!buttonsFooter" [innerHTML]="config.nzTitle"></div>
<div *ngIf="!buttonsFooter" [innerHTML]="config.nzFooter"></div>
<ng-container *ngIf="buttonsFooter">
<button
*ngFor="let button of buttons"
Expand Down

0 comments on commit 85ea273

Please sign in to comment.