X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmodal%2Finstance-config-warning-modal.component.ts;h=5e1433548f767d85f6ad606277938ecf5c4ae16c;hb=ee8e602ef9761b4869e14d4d3ed24a2e18f22c65;hp=742a7dd413e645148be667f128de587ed2e2631e;hpb=8c559fad1e1c4c2ab7f1388c73200aa4c6256d74;p=github%2FChocobozzz%2FPeerTube.git 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 742a7dd41..5e1433548 100644 --- a/client/src/app/modal/instance-config-warning-modal.component.ts +++ b/client/src/app/modal/instance-config-warning-modal.component.ts @@ -24,7 +24,7 @@ export class InstanceConfigWarningModalComponent { 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()