From aa2885e6ca558a48eca4ef4a601f47f0d2d77862 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 1 Jul 2024 21:12:21 +0200 Subject: [PATCH] feat: remove isEmployee by acl.back --- src/stores/useNavigationStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);