1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 21:34:13 +03:00

fixed hotkey removal crashes

This commit is contained in:
Eugene Pankov 2021-07-24 16:03:48 +02:00
parent 90149def0a
commit 657915b1fe
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -17,7 +17,7 @@ export class MultiHotkeyInputComponent {
private ngbModal: NgbModal, private ngbModal: NgbModal,
) { } ) { }
ngOnInit (): void { ngOnChanges (): void {
if (typeof this.model === 'string') { if (typeof this.model === 'string') {
this.model = [this.model] this.model = [this.model]
} }