|
|
@@ -198,17 +198,17 @@ export class ExecutionDialog {
|
|
|
|
|
|
clearInterval(window.executionDialogTicker)
|
|
|
|
|
|
- if ("type" in res && res.type == "execution-dialog-output-html") {
|
|
|
- this.domOutputHtml.hidden = false
|
|
|
- this.domOutput.hidden = true
|
|
|
- this.domOutputHtml.innerHTML = res.logEntry.output
|
|
|
- this.domOutputHtml.hidden = false
|
|
|
- this.hideDetailsonResult = true
|
|
|
- } else {
|
|
|
- this.domOutput.hidden = false
|
|
|
- this.domOutputHtml.innerHTML = ''
|
|
|
- this.domOutputHtml.hidden = true
|
|
|
- }
|
|
|
+ if ('type' in res && res.type === 'execution-dialog-output-html') {
|
|
|
+ this.domOutputHtml.hidden = false
|
|
|
+ this.domOutput.hidden = true
|
|
|
+ this.domOutputHtml.innerHTML = res.logEntry.output
|
|
|
+ this.domOutputHtml.hidden = false
|
|
|
+ this.hideDetailsonResult = true
|
|
|
+ } else {
|
|
|
+ this.domOutput.hidden = false
|
|
|
+ this.domOutputHtml.innerHTML = ''
|
|
|
+ this.domOutputHtml.hidden = true
|
|
|
+ }
|
|
|
|
|
|
if (this.hideDetailsOnResult) {
|
|
|
this.domExecutionDetails.hidden = true
|
|
|
@@ -229,7 +229,6 @@ export class ExecutionDialog {
|
|
|
|
|
|
this.updateDuration(res.logEntry)
|
|
|
|
|
|
-
|
|
|
window.terminal.reset()
|
|
|
window.terminal.write(res.logEntry.output, () => {
|
|
|
window.terminal.fit()
|