Skip to content

Commit

Permalink
Deactivate advanced part of account detail for current user
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelGeo committed Nov 11, 2024
1 parent f091e73 commit 8c4915c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</div>
</app-section>
</app-container>
<app-container>
<app-container v-if="userStore.loggedUser?.id !== user?.id">
<app-section>
<template #title>Advanced</template>
Expand Down Expand Up @@ -129,7 +129,8 @@ import {
AppContainer,
ConfirmDialogProps,
AppSettings,
AppSettingsItemConfig
AppSettingsItemConfig,
useUserStore
} from '@mergin/lib'
import { computed, watch } from 'vue'
import { useRoute } from 'vue-router'
Expand All @@ -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<AppSettingsItemConfig[]>(() => [
{
Expand Down

0 comments on commit 8c4915c

Please sign in to comment.