]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/modal/welcome-modal.component.ts
Merge branch 'pr/2629' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / modal / welcome-modal.component.ts
index 9097de9841c30349d4a6cf7b7c5f784f1daa248f..e022776e37b77dbfcd059484eddf1a063b25e5c3 100644 (file)
@@ -18,14 +18,15 @@ export class WelcomeModalComponent {
   ) { }
 
   show () {
-    this.modalService.open(this.modal,{
+    this.modalService.open(this.modal, {
+      centered: true,
       backdrop: 'static',
       keyboard: false,
       size: 'lg'
     })
   }
 
-  private doNotOpenAgain () {
+  doNotOpenAgain () {
     this.userService.updateMyProfile({ noWelcomeModal: true })
       .subscribe(
         () => console.log('We will not open the welcome modal again.'),