import { Component, ElementRef, ViewChild } from '@angular/core'
-import { Notifier } from '@app/core'
+import { Notifier, UserService } from '@app/core'
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
import { About } from '@shared/models/server'
-import { UserService } from '@app/shared'
@Component({
selector: 'my-instance-config-warning-modal',
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()