mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -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';
|
||||
} else if (status === 'canceled') {
|
||||
path = 'executionsList.statusCanceled';
|
||||
} else if (status === 'crashed') {
|
||||
path = 'executionsList.statusText';
|
||||
} else if (['crashed', 'failed', 'success'].includes(status)) {
|
||||
if (!entry.stoppedAt) {
|
||||
path = 'executionsList.statusTextWithoutTime';
|
||||
} else {
|
||||
path = 'executionsList.statusText';
|
||||
}
|
||||
} else if (status === 'new') {
|
||||
path = 'executionsList.statusRunning';
|
||||
} else if (status === 'running') {
|
||||
path = 'executionsList.statusRunning';
|
||||
} else if (status === 'success') {
|
||||
path = 'executionsList.statusText';
|
||||
} else if (status === 'failed') {
|
||||
path = 'executionsList.statusText';
|
||||
} else {
|
||||
path = 'executionsList.statusUnknown';
|
||||
}
|
||||
|
|
|
@ -510,6 +510,7 @@
|
|||
"executionsList.status": "Status",
|
||||
"executionsList.statusCanceled": "Canceled",
|
||||
"executionsList.statusText": "{status} in {time}",
|
||||
"executionsList.statusTextWithoutTime": "{status}",
|
||||
"executionsList.statusRunning": "{status} for {time}",
|
||||
"executionsList.statusWaiting": "{status} until {time}",
|
||||
"executionsList.statusUnknown": "Could not complete",
|
||||
|
|
Loading…
Reference in a new issue