mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:01:32 +00:00
Implement automatic switching to console on deploy click
This commit is contained in:
parent
3565b890c4
commit
3af98a0c19
@ -27,7 +27,8 @@ export const config = {
|
||||
defaultLanguage: 'text',
|
||||
deployProcessName: 'webservice',
|
||||
showDeployButton: true,
|
||||
reloadIframeOnDeployButtonClick: true
|
||||
reloadIframeOnDeployButtonClick: true,
|
||||
showConsoleOnDeploy: true,
|
||||
},
|
||||
terminal: {
|
||||
route: 'shell'
|
||||
|
@ -104,5 +104,8 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
|
||||
setConsoleContent(content: string) {
|
||||
this.childConsole.newLogHandler(content);
|
||||
if (config.ide.showConsoleOnDeploy) {
|
||||
this.selectTerminalMenuItem('console');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user