|
|
@@ -9,7 +9,11 @@ export function setupPageGuard(router: Router) {
|
|
|
if (to.params.companyId) {
|
|
|
const companyStore = useCompanyStore()
|
|
|
await companyStore.getCompanyInfo(Number(to.params.companyId))
|
|
|
- await userStore.fetch()
|
|
|
+ try {
|
|
|
+ await userStore.fetch()
|
|
|
+ } catch (error) {
|
|
|
+ /* empty */
|
|
|
+ }
|
|
|
}
|
|
|
const { isMobile } = useBasicLayout()
|
|
|
const userMemberStore = useUserMemberStore()
|