feat: Ctrl+S-Shortcut zum Ausführen des Update-Dienstes hinzufügen

This commit is contained in:
Developer 02 2024-08-07 12:52:01 +02:00
parent 7de506d390
commit 7bbd9aacd6

View File

@ -63,6 +63,12 @@ export class UserComponent extends BasePageComponent implements AfterViewInit {
}
}
@HostListener('window:keydown.control.s', ['$event'])
handleCtrlS(event: KeyboardEvent) {
event.preventDefault();
this.updateService.executeAll();
}
@HostListener('window:keydown.delete', ['$event'])
handleDelete(event: KeyboardEvent) {
this.deleteItem();