From 8c4915c5385194e890fd2ce6d71a92fcebc888d4 Mon Sep 17 00:00:00 2001 From: "marcel.kocisek" Date: Mon, 11 Nov 2024 14:11:30 +0100 Subject: [PATCH] Deactivate advanced part of account detail for current user --- .../admin-lib/src/modules/admin/views/AccountDetailView.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web-app/packages/admin-lib/src/modules/admin/views/AccountDetailView.vue b/web-app/packages/admin-lib/src/modules/admin/views/AccountDetailView.vue index a1f739ee..c38f229e 100644 --- a/web-app/packages/admin-lib/src/modules/admin/views/AccountDetailView.vue +++ b/web-app/packages/admin-lib/src/modules/admin/views/AccountDetailView.vue @@ -61,7 +61,7 @@ - + @@ -129,7 +129,8 @@ import { AppContainer, ConfirmDialogProps, AppSettings, - AppSettingsItemConfig + AppSettingsItemConfig, + useUserStore } from '@mergin/lib' import { computed, watch } from 'vue' import { useRoute } from 'vue-router' @@ -140,6 +141,7 @@ import { useAdminStore } from '@/modules/admin/store' const route = useRoute() const adminStore = useAdminStore() const dialogStore = useDialogStore() +const userStore = useUserStore() const settingsItems = computed(() => [ {