From 854f56a178c2b354c9c758434c4afb8ae1a80ae7 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Sat, 21 Feb 2026 22:20:00 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20Register=20VueFinderPlugin=20=E2=80=94?= =?UTF-8?q?=20prevents=20Object.keys=20crash=20on=20null=20store?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VueFinder requires app.use(VueFinderPlugin) to provide its internal context (i18n, features, config stores). Without plugin registration, the store returned null during setup, causing Object.keys to throw TypeError on undefined. Co-Authored-By: Claude Opus 4.6 --- frontend/src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/main.ts b/frontend/src/main.ts index eb0945b..c7816df 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -2,6 +2,7 @@ import { createApp } from 'vue' import { createPinia } from 'pinia' import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' +import { VueFinderPlugin } from 'vuefinder' import App from './App.vue' import router from './router' import './style.css' @@ -14,5 +15,6 @@ pinia.use(piniaPluginPersistedstate) app.use(pinia) app.use(router) +app.use(VueFinderPlugin) app.mount('#app')