File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 33# -- Frontend --
44VITE_BASE_URL = localhost:8080
55VITE_SHORT_BASE_URL = http://localhost:8080/user
6- # Set true to activate polling for dev server
6+ # Set true to activate polling for dev server
77VITE_SERVER_WATCH_POLLING =
88VITE_SERVER_WATCH_INTERVAL =
99VITE_SERVER_WATCH_BINARY_INTERVAL =
@@ -34,4 +34,3 @@ VITE_DEFAULT_HOUR_FORMAT=12
3434
3535# You could use a url or a mailto: email address.
3636VITE_SUPPORT_URL =
37-
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ const apiUrl = inject(apiUrlKey);
3333const route = useRoute ();
3434const routeName = typeof route .name === ' string' ? route .name : ' ' ;
3535const router = useRouter ();
36- const lang = defaultLocale ();
3736
3837const siteNotificationStore = useSiteNotificationStore ();
3938const {
@@ -166,7 +165,7 @@ const onPageLoad = async () => {
166165 resolution: deviceRes,
167166 effective_resolution: effectiveDeviceRes,
168167 user_agent: navigator.userAgent,
169- locale: lang ,
168+ locale: defaultLocale() ,
170169 }).json();
171170
172171 const { data } = response;
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { inject } from ' vue' ;
2+ import { inject , onMounted } from ' vue' ;
33import { keyByValue } from ' @/utils' ;
44import { callKey , isFxaAuthKey , fxaEditProfileUrlKey } from ' @/keys' ;
55import { useI18n } from ' vue-i18n' ;
@@ -41,6 +41,12 @@ const logout = async () => {
4141const editProfile = async () => {
4242 window .location .href = fxaEditProfileUrl ;
4343};
44+
45+ // Load calendar and bookings information
46+ onMounted (() => {
47+ calendarStore .fetch (call );
48+ appointmentStore .fetch (call );
49+ });
4450 </script >
4551
4652<template >
You can’t perform that action at this time.
0 commit comments