mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
wip: Exclude evaluation executions from counting towards limit in UI
This commit is contained in:
parent
6576357376
commit
795b2961e7
|
@ -74,7 +74,10 @@ const isAnnotationEnabled = computed(
|
|||
);
|
||||
|
||||
const runningExecutionsCount = computed(() => {
|
||||
return props.executions.filter((execution) => execution.status === 'running').length;
|
||||
return props.executions.filter(
|
||||
(execution) =>
|
||||
execution.status === 'running' && ['webhook', 'trigger'].includes(execution.mode),
|
||||
).length;
|
||||
});
|
||||
|
||||
watch(
|
||||
|
|
|
@ -55,7 +55,10 @@ const executionListRef = ref<HTMLElement | null>(null);
|
|||
const workflowPermissions = computed(() => getResourcePermissions(props.workflow?.scopes).workflow);
|
||||
|
||||
const runningExecutionsCount = computed(() => {
|
||||
return props.executions.filter((execution) => execution.status === 'running').length;
|
||||
return props.executions.filter(
|
||||
(execution) =>
|
||||
execution.status === 'running' && ['webhook', 'trigger'].includes(execution.mode),
|
||||
).length;
|
||||
});
|
||||
|
||||
watch(
|
||||
|
|
Loading…
Reference in a new issue