diff options
Diffstat (limited to 'client/src/app/modal/welcome-modal.component.ts')
-rw-r--r-- | client/src/app/modal/welcome-modal.component.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/modal/welcome-modal.component.ts b/client/src/app/modal/welcome-modal.component.ts index 05412a4cd..9097de984 100644 --- a/client/src/app/modal/welcome-modal.component.ts +++ b/client/src/app/modal/welcome-modal.component.ts | |||
@@ -18,13 +18,11 @@ export class WelcomeModalComponent { | |||
18 | ) { } | 18 | ) { } |
19 | 19 | ||
20 | show () { | 20 | show () { |
21 | const ref = this.modalService.open(this.modal,{ | 21 | this.modalService.open(this.modal,{ |
22 | backdrop: 'static', | 22 | backdrop: 'static', |
23 | keyboard: false, | 23 | keyboard: false, |
24 | size: 'lg' | 24 | size: 'lg' |
25 | }) | 25 | }) |
26 | |||
27 | ref.result.finally(() => this.doNotOpenAgain()) | ||
28 | } | 26 | } |
29 | 27 | ||
30 | private doNotOpenAgain () { | 28 | private doNotOpenAgain () { |