diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-30 11:00:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-30 11:00:08 +0100 |
commit | 006b83927b62b4471a1ce8fd2e59282e89dccd6c (patch) | |
tree | 23c1e72d2d084f6d5c76ed7dfd8f8aeac05160ed /client/src/app/modal/welcome-modal.component.ts | |
parent | 767619f639180d28532ffb4f7919668f3e5b5772 (diff) | |
download | PeerTube-006b83927b62b4471a1ce8fd2e59282e89dccd6c.tar.gz PeerTube-006b83927b62b4471a1ce8fd2e59282e89dccd6c.tar.zst PeerTube-006b83927b62b4471a1ce8fd2e59282e89dccd6c.zip |
Add mascot in welcome modal
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 () { |