This commit is contained in:
filtered
2025-05-14 17:04:51 +10:00
parent b65440e1c2
commit b0fc736260

View File

@@ -33,7 +33,7 @@ const items = computed(() => {
return navigationStore.navigationStack.map<MenuItem>((subgraph) => ({
label: subgraph.name,
command: async () => {
command: () => {
const canvas = useCanvasStore().getCanvas()
if (!canvas.graph) throw new TypeError('Canvas has no graph')
@@ -45,7 +45,7 @@ const items = computed(() => {
const home = computed(() => ({
label: workflowName.value,
icon: 'pi pi-home',
command: async () => {
command: () => {
const canvas = useCanvasStore().getCanvas()
if (!canvas.graph) throw new TypeError('Canvas has no graph')