fix: Ctrl+R Tastenkombination funktioniert jetzt korrekt mit dem Refresh-Service

This commit is contained in:
Developer 02 2024-08-08 13:19:58 +02:00
parent e2d479d9a8
commit 9efc26b904

View File

@ -36,6 +36,12 @@ export class BasePageComponent {
this.updateService.executeAll();
}
@HostListener('window:keydown.control.r', ['$event'])
protected handleCtrlR(event: KeyboardEvent) {
event.preventDefault();
this.refreshService.executeAll();
}
@HostListener('window:keydown.delete', ['$event'])
protected handleDelete(event: KeyboardEvent) {
this.handleDeleteRequest();