Skip to content

Commit 65b4ac8

Browse files
committed
Merge
2 parents 3a1cac4 + 45444a0 commit 65b4ac8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web-app/packages/admin-lib/src/modules/admin/views/AccountDetailView.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
</div>
6262
</app-section>
6363
</app-container>
64-
<app-container>
64+
<app-container v-if="userStore.loggedUser?.id !== user?.id">
6565
<app-section>
6666
<template #title>Advanced</template>
6767

@@ -133,6 +133,7 @@ import {
133133
AppSettings,
134134
AppSettingsItemConfig,
135135
useInstanceStore
136+
useUserStore
136137
} from '@mergin/lib'
137138
import { computed, watch } from 'vue'
138139
import { useRoute } from 'vue-router'
@@ -144,6 +145,7 @@ const route = useRoute()
144145
const adminStore = useAdminStore()
145146
const dialogStore = useDialogStore()
146147
const instanceStore = useInstanceStore()
148+
const userStore = useUserStore()
147149
148150
const settingsItems = computed<AppSettingsItemConfig[]>(() => [
149151
{

0 commit comments

Comments
 (0)