Skip to content

Commit 8694434

Browse files
EstrellaXDclaudehappy-otter
committed
fix(webui): destructure non-reactive steps from setup store directly
`steps` is a plain array in the store, not a ref. Using `storeToRefs` returned undefined, causing "Cannot read properties of undefined (reading 'length')" at runtime. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1 parent 70c9908 commit 8694434

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webui/src/pages/setup.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ definePage({
44
});
55
66
const setupStore = useSetupStore();
7-
const { currentStep, currentStepIndex, steps } = storeToRefs(setupStore);
7+
const { currentStep, currentStepIndex } = storeToRefs(setupStore);
8+
const { steps } = setupStore;
89
</script>
910

1011
<template>

0 commit comments

Comments
 (0)