Rename dashboard API command

This commit is contained in:
Kristóf Tóth 2018-05-31 12:28:39 +02:00
parent c407ce1e96
commit 00efe0002c

View File

@ -25,10 +25,10 @@ export class DashboardComponent implements OnInit, OnDestroy {
@ViewChild('webiframe') webiframe: ElementRef;
selectedTerminalMenuItem = config.dashboard.terminalOrConsole;
command_handlers = {'layout': this.layoutHandler.bind(this),
'hide_messages': this.hideMessagesHandler.bind(this),
'terminal_menu': this.terminalMenuSelectHandler.bind(this),
'reload_frontend': this.reloadFrontendHandlder.bind(this)};
command_handlers = {'layout': this.layoutHandler.bind(this),
'hide_messages': this.hideMessagesHandler.bind(this),
'terminal_menu_item': this.terminalMenuSelectHandler.bind(this),
'reload_frontend': this.reloadFrontendHandlder.bind(this)};
constructor(private deploymentNotificationService: DeploymentNotificationService,
private webSocketService: WebSocketService,