diff --git a/client/src/components/bcgov/Header.vue b/client/src/components/bcgov/Header.vue index 2e65d71..5c548b1 100644 --- a/client/src/components/bcgov/Header.vue +++ b/client/src/components/bcgov/Header.vue @@ -50,10 +50,10 @@ const environment = import.meta.env.VITE_ENVIRONMENT || "local"; id="roleButton" color="secondary" variant="plain" - v-if="authStore.authenticated && environment === 'dev'" + v-if="authStore.authenticated" readonly > - ({{ environment }}) Role: {{ authStore.user.role }} + Role: {{ authStore.user.role }} { } }); + if (to.name === "NotInitialized") { + destination = "Financial"; + } + authStore.updateRole(role[0].role); } catch (error) { console.error("Error fetching RLS Role", error);