diff --git a/front/src/AppNavBar.vue b/front/src/AppNavBar.vue index 2792999..b74c5e3 100644 --- a/front/src/AppNavBar.vue +++ b/front/src/AppNavBar.vue @@ -4,6 +4,8 @@ import NavBarSearch from './NavBarSearch.vue' import BarcodeModal from './BarcodeModal.vue' import { useAuthStore } from './auth.store.js' + import { getAppInfo } from './api.js' + import { onMounted } from 'vue' const authStore = useAuthStore(); const router = useRouter(); @@ -16,6 +18,12 @@ router.push('/'); } + const appInfo = ref(null); + const appInfoErr = ref(null); + + onMounted(() => { + getAppInfo(appInfo, appInfoErr); + })