Fix showLiveLogs mode ignoring showConsoleOnDeploy

This commit is contained in:
Kristóf Tóth 2018-05-29 17:56:16 +02:00
parent b11f3c95f6
commit 188b3a9631

View File

@ -105,9 +105,9 @@ export class DashboardComponent implements OnInit, OnDestroy {
setConsoleContent(logs: any) {
if (!config.console.showLiveLogs) {
this.processLogService.newLog.next(logs);
if (config.ide.showConsoleOnDeploy) {
this.selectTerminalMenuItem('console');
}
}
if (config.ide.showConsoleOnDeploy) {
this.selectTerminalMenuItem('console');
}
}
}