diff --git a/src/components/BaseComponents/NavBar.vue b/src/components/BaseComponents/NavBar.vue index 3b820b62aea14514beae57dd731d43876115eceb..8163476d622b68468a517dd35151797087334aaf 100644 --- a/src/components/BaseComponents/NavBar.vue +++ b/src/components/BaseComponents/NavBar.vue @@ -119,7 +119,7 @@ <img src="@/assets/icons/feedback.svg">Tilbakemelding </router-link> </li> - <li> + <li v-if="useUserInfoStore().role === 'ADMIN'"> <router-link data-cy="admin" class="dropdown-item dropdown-username-link" :to="toSetting()" diff --git a/src/components/Configuration/ConfigurationSteps/BankAccount.vue b/src/components/Configuration/ConfigurationSteps/BankAccount.vue index 7c25f6068f7067ba91f3504d4d26aa8fbcb535f3..9ffde7b48fd03b8dca31c1e69b29f5decb9999ac 100644 --- a/src/components/Configuration/ConfigurationSteps/BankAccount.vue +++ b/src/components/Configuration/ConfigurationSteps/BankAccount.vue @@ -5,7 +5,6 @@ import { ref } from 'vue' import BaseInput from '@/components/BaseComponents/Input/BaseInput.vue' import { useConfigurationStore } from '@/stores/ConfigurationStore' import { AccountControllerService } from '@/api' -import handleUnknownError from '@/components/Exceptions/unkownErrorHandler' const router = useRouter();