Browse Source

Improve view mode form control value change

pull/3690/head
Thomas Kaul 1 year ago
parent
commit
61ab05116d
  1. 9
      apps/client/src/app/components/home-holdings/home-holdings.component.ts

9
apps/client/src/app/components/home-holdings/home-holdings.component.ts

@ -98,6 +98,15 @@ export class HomeHoldingsComponent implements OnDestroy, OnInit {
.pipe(takeUntil(this.unsubscribeSubject)) .pipe(takeUntil(this.unsubscribeSubject))
.subscribe(() => { .subscribe(() => {
this.userService.remove(); this.userService.remove();
this.userService
.get()
.pipe(takeUntil(this.unsubscribeSubject))
.subscribe((user) => {
this.user = user;
this.changeDetectorRef.markForCheck();
});
}); });
}); });
} }

Loading…
Cancel
Save