0
0
Fork 0

feat: remove isEmployee by acl.back

This commit is contained in:
Javier Segarra 2024-07-01 21:12:21 +02:00
parent f2304ab6f0
commit aa2885e6ca
1 changed files with 1 additions and 1 deletions

View File

@ -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);