diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/condition-input/condition-input.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/condition-input/condition-input.tsx
index 90bad9505..9801a4f57 100644
--- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/condition-input/condition-input.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/condition-input/condition-input.tsx
@@ -8,11 +8,11 @@ import { useUpdateNodeInternals } from 'reactflow'
import {
Button,
Code,
- Textarea,
calculateGutterWidth,
getCodeEditorProps,
highlight,
languages,
+ Textarea,
Tooltip,
} from '@/components/emcn'
import { Trash } from '@/components/emcn/icons/trash'
@@ -815,18 +815,16 @@ export function ConditionInput({
- {isRouterMode ? 'Delete Route' : 'Delete Condition'}
+
+ {isRouterMode ? 'Delete Route' : 'Delete Condition'}
+
@@ -869,9 +867,7 @@ export function ConditionInput({
setTimeout(() => {
setConditionalBlocks((blocks) =>
blocks.map((b) =>
- b.id === block.id
- ? { ...b, showTags: false, showEnvVars: false }
- : b
+ b.id === block.id ? { ...b, showTags: false, showEnvVars: false } : b
)
)
}, 150)
diff --git a/apps/sim/blocks/blocks/router.ts b/apps/sim/blocks/blocks/router.ts
index 7d3f32d0c..d029afe57 100644
--- a/apps/sim/blocks/blocks/router.ts
+++ b/apps/sim/blocks/blocks/router.ts
@@ -180,11 +180,7 @@ const getApiKeyCondition = () => {
}
: () => ({
field: 'model',
- value: [
- ...getCurrentOllamaModels(),
- ...getCurrentVLLMModels(),
- ...providers.vertex.models,
- ],
+ value: [...getCurrentOllamaModels(), ...getCurrentVLLMModels(), ...providers.vertex.models],
not: true,
})
}
diff --git a/apps/sim/executor/dag/construction/edges.ts b/apps/sim/executor/dag/construction/edges.ts
index 5b2e65280..4a36e5f91 100644
--- a/apps/sim/executor/dag/construction/edges.ts
+++ b/apps/sim/executor/dag/construction/edges.ts
@@ -1,5 +1,10 @@
import { createLogger } from '@sim/logger'
-import { EDGE, isConditionBlockType, isRouterBlockType, isRouterV2BlockType } from '@/executor/constants'
+import {
+ EDGE,
+ isConditionBlockType,
+ isRouterBlockType,
+ isRouterV2BlockType,
+} from '@/executor/constants'
import type { DAG } from '@/executor/dag/builder'
import {
buildBranchNodeId,
diff --git a/apps/sim/executor/handlers/router/router-handler.ts b/apps/sim/executor/handlers/router/router-handler.ts
index a57ed1a28..55524b705 100644
--- a/apps/sim/executor/handlers/router/router-handler.ts
+++ b/apps/sim/executor/handlers/router/router-handler.ts
@@ -34,9 +34,7 @@ export class RouterBlockHandler implements BlockHandler {
constructor(private pathTracker?: any) {}
canHandle(block: SerializedBlock): boolean {
- return (
- block.metadata?.id === BlockType.ROUTER || block.metadata?.id === BlockType.ROUTER_V2
- )
+ return block.metadata?.id === BlockType.ROUTER || block.metadata?.id === BlockType.ROUTER_V2
}
async execute(