diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 5a5a003..63a8b65 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -8,6 +8,8 @@ const auth = useAuthStore(); const noty = useNotificationsStore(); + const permission = auth.user.permissions; + const jobRole = auth.user.job_role; const { t } = useI18n() $(document).ready(function() { @@ -31,6 +33,8 @@ } noty.notifications = resp.data; } + + const roleCheck = 'store';