diff --git a/web_src/js/components/projects/WorkflowStore.ts b/web_src/js/components/projects/WorkflowStore.ts index c815cc3a0e..4ea960eb59 100644 --- a/web_src/js/components/projects/WorkflowStore.ts +++ b/web_src/js/components/projects/WorkflowStore.ts @@ -411,7 +411,7 @@ export function createWorkflowStore(props: any): WorkflowStoreState { // Remove workflow from the list const existingIndex = store.workflowEvents.findIndex((e: WorkflowEvent) => e.eventId === selected.eventId); - if (existingIndex >= 0) { + if (existingIndex >= 0) { store.workflowEvents.splice(existingIndex, 1); } } catch (error) {