mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-20 11:29:56 +00:00
21 lines
447 B
TypeScript
21 lines
447 B
TypeScript
import { Component, Input } from '@angular/core'
|
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'
|
|
|
|
/** @hidden */
|
|
@Component({
|
|
templateUrl: './safeModeModal.component.pug',
|
|
})
|
|
export class SafeModeModalComponent {
|
|
@Input() error: Error
|
|
|
|
constructor (
|
|
public modalInstance: NgbActiveModal,
|
|
) {
|
|
this.error = window['safeModeReason']
|
|
}
|
|
|
|
close (): void {
|
|
this.modalInstance.dismiss()
|
|
}
|
|
}
|