aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/modal/instance-config-warning-modal.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-03 11:23:20 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-09-05 10:17:02 +0200
commit592c735c19b25e9b38f82d90d15a81307902ed62 (patch)
treef7ce6b8b53ccfc51e6a7b56f1cd0602c73fdba5e /client/src/app/modal/instance-config-warning-modal.component.ts
parent8ae03c37181822617418d1fc372982b245ac0a9a (diff)
downloadPeerTube-592c735c19b25e9b38f82d90d15a81307902ed62.tar.gz
PeerTube-592c735c19b25e9b38f82d90d15a81307902ed62.tar.zst
PeerTube-592c735c19b25e9b38f82d90d15a81307902ed62.zip
Better welcome modal
Diffstat (limited to 'client/src/app/modal/instance-config-warning-modal.component.ts')
-rw-r--r--client/src/app/modal/instance-config-warning-modal.component.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/modal/instance-config-warning-modal.component.ts b/client/src/app/modal/instance-config-warning-modal.component.ts
index 08d83f383..742a7dd41 100644
--- a/client/src/app/modal/instance-config-warning-modal.component.ts
+++ b/client/src/app/modal/instance-config-warning-modal.component.ts
@@ -31,6 +31,11 @@ export class InstanceConfigWarningModalComponent {
31 }) 31 })
32 } 32 }
33 33
34 isDefaultShortDescription (description: string) {
35 return description === 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly ' +
36 'in the web browser with WebTorrent and Angular.'
37 }
38
34 private doNotOpenAgain () { 39 private doNotOpenAgain () {
35 this.userService.updateMyProfile({ noInstanceConfigWarningModal: true }) 40 this.userService.updateMyProfile({ noInstanceConfigWarningModal: true })
36 .subscribe( 41 .subscribe(