mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: Prevent displaying an endless timer in the execution list for finished executions (#6137)
This commit is contained in:
parent
90a62ccfb5
commit
701105edcf
|
@ -800,16 +800,16 @@ export default mixins(externalHooks, genericHelpers, executionHelpers, showMessa
|
||||||
path = 'executionsList.statusWaiting';
|
path = 'executionsList.statusWaiting';
|
||||||
} else if (status === 'canceled') {
|
} else if (status === 'canceled') {
|
||||||
path = 'executionsList.statusCanceled';
|
path = 'executionsList.statusCanceled';
|
||||||
} else if (status === 'crashed') {
|
} else if (['crashed', 'failed', 'success'].includes(status)) {
|
||||||
path = 'executionsList.statusText';
|
if (!entry.stoppedAt) {
|
||||||
|
path = 'executionsList.statusTextWithoutTime';
|
||||||
|
} else {
|
||||||
|
path = 'executionsList.statusText';
|
||||||
|
}
|
||||||
} else if (status === 'new') {
|
} else if (status === 'new') {
|
||||||
path = 'executionsList.statusRunning';
|
path = 'executionsList.statusRunning';
|
||||||
} else if (status === 'running') {
|
} else if (status === 'running') {
|
||||||
path = 'executionsList.statusRunning';
|
path = 'executionsList.statusRunning';
|
||||||
} else if (status === 'success') {
|
|
||||||
path = 'executionsList.statusText';
|
|
||||||
} else if (status === 'failed') {
|
|
||||||
path = 'executionsList.statusText';
|
|
||||||
} else {
|
} else {
|
||||||
path = 'executionsList.statusUnknown';
|
path = 'executionsList.statusUnknown';
|
||||||
}
|
}
|
||||||
|
|
|
@ -510,6 +510,7 @@
|
||||||
"executionsList.status": "Status",
|
"executionsList.status": "Status",
|
||||||
"executionsList.statusCanceled": "Canceled",
|
"executionsList.statusCanceled": "Canceled",
|
||||||
"executionsList.statusText": "{status} in {time}",
|
"executionsList.statusText": "{status} in {time}",
|
||||||
|
"executionsList.statusTextWithoutTime": "{status}",
|
||||||
"executionsList.statusRunning": "{status} for {time}",
|
"executionsList.statusRunning": "{status} for {time}",
|
||||||
"executionsList.statusWaiting": "{status} until {time}",
|
"executionsList.statusWaiting": "{status} until {time}",
|
||||||
"executionsList.statusUnknown": "Could not complete",
|
"executionsList.statusUnknown": "Could not complete",
|
||||||
|
|
Loading…
Reference in a new issue