diff --git a/src/stores/useNavigationStore.js b/src/stores/useNavigationStore.js index da06730f7..4dd5ed2ae 100644 --- a/src/stores/useNavigationStore.js +++ b/src/stores/useNavigationStore.js @@ -80,7 +80,7 @@ export const useNavigationStore = defineStore('navigationStore', () => { } async function fetchPinned() { - if (pinnedModules.value.length || !role.isEmployee()) return; + if (pinnedModules.value.length) return; const response = await axios.get('StarredModules/getStarredModules'); pinnedModules.value = response.data.map((row) => row.moduleFk);