Skip to content

Commit

Permalink
fix(module:watermark): removing the watermark fails to redraw (#8012)
Browse files Browse the repository at this point in the history
  • Loading branch information
OriginRing committed Jul 12, 2023
1 parent 08d4640 commit 030318e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/water-mark/water-mark.component.ts
Expand Up @@ -66,7 +66,7 @@ export class NzWaterMarkComponent implements AfterViewInit, OnInit, OnChanges, O
constructor(private el: ElementRef, @Inject(DOCUMENT) private document: Document, private cdr: ChangeDetectorRef) {}

ngOnInit(): void {
this.observer.observe(this.waterMarkElement, {
this.observer.observe(this.el.nativeElement, {
subtree: true,
childList: true,
attributeFilter: ['style', 'class']
Expand Down

0 comments on commit 030318e

Please sign in to comment.