fix: Ctrl+R Tastenkombination funktioniert jetzt korrekt mit dem Refresh-Service
This commit is contained in:
parent
e2d479d9a8
commit
9efc26b904
@ -36,6 +36,12 @@ export class BasePageComponent {
|
|||||||
this.updateService.executeAll();
|
this.updateService.executeAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@HostListener('window:keydown.control.r', ['$event'])
|
||||||
|
protected handleCtrlR(event: KeyboardEvent) {
|
||||||
|
event.preventDefault();
|
||||||
|
this.refreshService.executeAll();
|
||||||
|
}
|
||||||
|
|
||||||
@HostListener('window:keydown.delete', ['$event'])
|
@HostListener('window:keydown.delete', ['$event'])
|
||||||
protected handleDelete(event: KeyboardEvent) {
|
protected handleDelete(event: KeyboardEvent) {
|
||||||
this.handleDeleteRequest();
|
this.handleDeleteRequest();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user