2018-10-17 23:37:29 -04:00
|
|
|
import { Component } from "@angular/core";
|
2021-08-16 18:00:59 -04:00
|
|
|
import { NgbActiveModal } from "@ng-bootstrap/ng-bootstrap";
|
2018-10-17 23:37:29 -04:00
|
|
|
|
2021-08-16 18:00:59 -04:00
|
|
|
export interface AskUnbridgeDialogContext {
|
2018-10-17 23:37:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
templateUrl: "./ask-unbridge.component.html",
|
|
|
|
styleUrls: ["./ask-unbridge.component.scss"],
|
|
|
|
})
|
2021-08-16 18:00:59 -04:00
|
|
|
export class TelegramAskUnbridgeComponent {
|
2018-10-17 23:37:29 -04:00
|
|
|
|
2021-08-16 18:00:59 -04:00
|
|
|
constructor(public modal: NgbActiveModal) {
|
2018-10-17 23:37:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
public unbridgeAndContinue(): void {
|
2021-08-16 18:00:59 -04:00
|
|
|
this.modal.close({unbridge: true});
|
2018-10-17 23:37:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
public cancel(): void {
|
2021-08-16 18:00:59 -04:00
|
|
|
this.modal.close({unbridge: false});
|
2018-10-17 23:37:29 -04:00
|
|
|
}
|
|
|
|
}
|