build: Code format
This commit is contained in:
parent
ec1f974f67
commit
27c287c2de
|
|
@ -198,7 +198,7 @@ export class ExecutionDialog {
|
|||
|
||||
clearInterval(window.executionDialogTicker)
|
||||
|
||||
if ("type" in res && res.type == "execution-dialog-output-html") {
|
||||
if ('type' in res && res.type === 'execution-dialog-output-html') {
|
||||
this.domOutputHtml.hidden = false
|
||||
this.domOutput.hidden = true
|
||||
this.domOutputHtml.innerHTML = res.logEntry.output
|
||||
|
|
@ -229,7 +229,6 @@ export class ExecutionDialog {
|
|||
|
||||
this.updateDuration(res.logEntry)
|
||||
|
||||
|
||||
window.terminal.reset()
|
||||
window.terminal.write(res.logEntry.output, () => {
|
||||
window.terminal.fit()
|
||||
|
|
|
|||
|
|
@ -187,12 +187,11 @@ function onExecutionFinished (evt) {
|
|||
return
|
||||
}
|
||||
|
||||
let feedbackButton = actionButton;
|
||||
const executionButton = document.querySelector('execution-button#execution-' + logEntry.executionTrackingId)
|
||||
let feedbackButton = actionButton
|
||||
|
||||
switch (actionButton.popupOnStart) {
|
||||
case 'execution-button':
|
||||
let executionButton = document.querySelector('execution-button#execution-' + logEntry.executionTrackingId)
|
||||
|
||||
if (executionButton != null) {
|
||||
feedbackButton = executionButton
|
||||
}
|
||||
|
|
@ -220,7 +219,7 @@ function onExecutionFinished (evt) {
|
|||
if (window.executionDialog.dlg.open && window.executionDialog.executionUuid === logEntry.uuid) {
|
||||
window.executionDialog.renderExecutionResult({
|
||||
logEntry: logEntry,
|
||||
type: actionButton.popupOnStart,
|
||||
type: actionButton.popupOnStart
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue