diff --git a/src/components/bcros/header/Index.vue b/src/components/bcros/header/Index.vue index e37c6f7..98dc6b0 100644 --- a/src/components/bcros/header/Index.vue +++ b/src/components/bcros/header/Index.vue @@ -27,7 +27,10 @@ class="flex flex-auto justify-end h-full text-white" >
- + diff --git a/src/stores/account.ts b/src/stores/account.ts index 3e30c64..3df32cd 100644 --- a/src/stores/account.ts +++ b/src/stores/account.ts @@ -189,7 +189,8 @@ export const useBcrosAccount = defineStore('bcros/account', () => { interface NotificationsResponse { count: number } - const response = await useBcrosFetch(`${apiURL}/users/${currentUserSub}/org/${accountId}/notifications`, {}) + const url = `${apiURL}/users/${currentUserSub}/org/${accountId}/notifications` + const response = await useBcrosFetch(url, {}) return (response && response.data && response.data.count) || 0 } else { return 0