) { }
show () {
- const ref = this.modalService.open(this.modal,{
+ this.modalService.open(this.modal,{
backdrop: 'static',
keyboard: false,
size: 'lg'
})
-
- ref.result.finally(() => this.doNotOpenAgain())
}
- private doNotOpenAgain () {
+ doNotOpenAgain () {
this.userService.updateMyProfile({ noWelcomeModal: true })
.subscribe(
() => console.log('We will not open the welcome modal again.'),