Implement automatic switching to console on deploy click

This commit is contained in:
Kristóf Tóth 2018-05-27 19:09:15 +02:00
parent 3565b890c4
commit 3af98a0c19
2 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,8 @@ export const config = {
defaultLanguage: 'text',
deployProcessName: 'webservice',
showDeployButton: true,
reloadIframeOnDeployButtonClick: true
reloadIframeOnDeployButtonClick: true,
showConsoleOnDeploy: true,
},
terminal: {
route: 'shell'

View File

@ -104,5 +104,8 @@ export class DashboardComponent implements OnInit, OnDestroy {
setConsoleContent(content: string) {
this.childConsole.newLogHandler(content);
if (config.ide.showConsoleOnDeploy) {
this.selectTerminalMenuItem('console');
}
}
}