From d51fe6a7aec24aeb76706bf7597d2481f77aac2e Mon Sep 17 00:00:00 2001 From: "Nic D." <91558719+Venti-Bear@users.noreply.github.com> Date: Thu, 15 Jan 2026 15:26:43 -0500 Subject: [PATCH] fix(chatbot): updating context in chatbot store no longer requires async, removed. --- src/router/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 8033b23..09c82af 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -45,12 +45,12 @@ export default defineRouter(function (/* { store, ssrContext } */) { } }) - Router.afterEach( async (destination_page) => { + Router.afterEach( (destination_page) => { const auth_store = useAuthStore(); if (auth_store.user?.user_module_access.includes('chatbot')) { const chatbot_store = useChatbotStore(); - await chatbot_store.updatePageContext(destination_page.name as RouteNames); + chatbot_store.updatePageContext(destination_page.name as RouteNames); } })