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>
This commit is contained in:
Estrella Pan
2026-01-24 08:22:54 +01:00
parent 70c9908a5a
commit 8694434269

View File

@@ -4,7 +4,8 @@ definePage({
});
const setupStore = useSetupStore();
const { currentStep, currentStepIndex, steps } = storeToRefs(setupStore);
const { currentStep, currentStepIndex } = storeToRefs(setupStore);
const { steps } = setupStore;
</script>
<template>