fix: awful fix but works for now ?
This commit is contained in:
parent
bca88a7b20
commit
01f062211a
@ -2,11 +2,9 @@
|
||||
|
||||
import { useAuthStore } from "@/stores/authStore.ts";
|
||||
import keycloakService from "@/services/keycloak";
|
||||
import type { Pinia } from "pinia";
|
||||
import type { AppConfig } from "vue";
|
||||
// Setup auth store as a plugin so it can be accessed globally in our FE
|
||||
const authStorePlugin = {
|
||||
install(app: AppConfig, option: Pinia) {
|
||||
install(app: unknown, option: unknown) {
|
||||
const store = useAuthStore(option.pinia);
|
||||
app.config.globalProperties.$store = store;
|
||||
keycloakService.CallInitStore(store);
|
||||
|
Loading…
x
Reference in New Issue
Block a user