]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/modal/welcome-modal.component.ts
Add mascot in welcome modal
[github/Chocobozzz/PeerTube.git] / client / src / app / modal / welcome-modal.component.ts
index 05412a4cdb2060590704b4cbb8230869d24de690..9097de9841c30349d4a6cf7b7c5f784f1daa248f 100644 (file)
@@ -18,13 +18,11 @@ export class WelcomeModalComponent {
   ) { }
 
   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 () {