Skip to content

Commit

Permalink
fix(module:message): fix style not changed when property changes (#5323)
Browse files Browse the repository at this point in the history
close #5301
  • Loading branch information
wendellhu committed Jun 5, 2020
1 parent d1f0321 commit 896f283
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/message/message-container.component.ts
Expand Up @@ -36,8 +36,9 @@ const NZ_MESSAGE_DEFAULT_CONFIG: Required<MessageConfig> = {
})
export class NzMessageContainerComponent extends NzMNContainerComponent {
readonly destroy$ = new Subject<void>();

instances: Array<Required<NzMessageData>> = [];
top: string | null = null;
top?: string | null;

constructor(cdr: ChangeDetectorRef, nzConfigService: NzConfigService) {
super(cdr, nzConfigService);
Expand Down

0 comments on commit 896f283

Please sign in to comment.