show (about: About) {
this.about = about
- const ref = this.modalService.open(this.modal)
+ const ref = this.modalService.open(this.modal, { centered: true })
ref.result.finally(() => {
if (this.stopDisplayModal === true) this.doNotOpenAgain()
})
}
+ isDefaultShortDescription (description: string) {
+ return description === 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly ' +
+ 'in the web browser with WebTorrent and Angular.'
+ }
+
private doNotOpenAgain () {
this.userService.updateMyProfile({ noInstanceConfigWarningModal: true })
.subscribe(