Allow switching between stdout and stderr logs in config.ts

This commit is contained in:
Kristóf Tóth
2018-05-28 16:36:19 +02:00
parent 0aa67b25aa
commit 1b8a36331c
5 changed files with 17 additions and 9 deletions

View File

@ -102,8 +102,8 @@ export class DashboardComponent implements OnInit, OnDestroy {
this.selectedTerminalMenuItem = item;
}
setConsoleContent(content: string) {
this.childConsole.newLogHandler(content);
setConsoleContent(logs: any) {
this.childConsole.newLogHandler(logs);
if (config.ide.showConsoleOnDeploy) {
this.selectTerminalMenuItem('console');
}