bugfix: onExecutionFinished ignores actions it cannot find
This commit is contained in:
parent
29b6d12454
commit
83beab4c92
|
|
@ -54,6 +54,10 @@ function onExecutionFinished (evt) {
|
||||||
|
|
||||||
const actionButton = window.actionButtons[logEntry.actionTitle]
|
const actionButton = window.actionButtons[logEntry.actionTitle]
|
||||||
|
|
||||||
|
if (actionButton === undefined) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
switch (actionButton.popupOnStart) {
|
switch (actionButton.popupOnStart) {
|
||||||
case 'execution-button':
|
case 'execution-button':
|
||||||
document.querySelector('execution-button#execution-' + logEntry.executionTrackingId).onExecutionFinished(logEntry)
|
document.querySelector('execution-button#execution-' + logEntry.executionTrackingId).onExecutionFinished(logEntry)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue