mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-17 14:56:03 +01:00
30 lines
767 B
TypeScript
30 lines
767 B
TypeScript
|
|
import { Component } from '@angular/core'
|
||
|
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'
|
||
|
|
import { AppConnectorService } from '../services/appConnector.service'
|
||
|
|
import { ConfigService } from '../services/config.service'
|
||
|
|
import { faPlus } from '@fortawesome/free-solid-svg-icons'
|
||
|
|
|
||
|
|
@Component({
|
||
|
|
selector: 'config-modal',
|
||
|
|
templateUrl: './configModal.component.pug',
|
||
|
|
// styleUrls: ['./settingsModal.component.scss'],
|
||
|
|
})
|
||
|
|
export class ConfigModalComponent {
|
||
|
|
_addIcon = faPlus
|
||
|
|
|
||
|
|
constructor (
|
||
|
|
private modalInstance: NgbActiveModal,
|
||
|
|
public appConnector: AppConnectorService,
|
||
|
|
public configService: ConfigService,
|
||
|
|
) {
|
||
|
|
}
|
||
|
|
|
||
|
|
async ngOnInit () {
|
||
|
|
}
|
||
|
|
|
||
|
|
cancel () {
|
||
|
|
this.modalInstance.dismiss()
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|