feat(device): Add save config buttons to the Device settings page (#447)
* feat(device): Add save config buttons to the Device settings page * feat(device): Set danger style to the reset user-config buttone
This commit is contained in:
committed by
László Monda
parent
737897b40e
commit
6b46c85ca6
@@ -59,18 +59,4 @@ export class MainAppComponent {
|
||||
clickedOnProgressButton(action: Action) {
|
||||
return this.store.dispatch(action);
|
||||
}
|
||||
|
||||
@HostListener('window:keydown.alt.j', ['$event'])
|
||||
onAltJ(event: KeyboardEvent): void {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.store.dispatch(new SaveUserConfigInJsonFileAction());
|
||||
}
|
||||
|
||||
@HostListener('window:keydown.alt.b', ['$event'])
|
||||
onAltB(event: KeyboardEvent): void {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.store.dispatch(new SaveUserConfigInBinaryFileAction());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user