chore: sync dependency branch with main

This commit is contained in:
neon
2026-04-25 21:35:27 -06:00
committed by GitHub
parent 2b99684d7e
commit 739d311e9e
43 changed files with 2234 additions and 225 deletions
+3 -2
View File
@@ -51,6 +51,7 @@ const isBookDockActive = computed(() => route.name === 'book-dock')
const isStatisticsActive = computed(() => route.name === 'statistics')
const iconRadiusClass = computed(() => (themeStore.radius === 'sharp' ? 'rounded-none' : 'rounded-full'))
const canChangePassword = computed(() => user.value?.provisioningMethod !== 'oidc' && user.value?.provisioningMethod !== 'shared')
function navigateToBookDock() {
router.push({ name: 'book-dock' })
@@ -675,8 +676,8 @@ function formatBadgeClass(fmt: string): string {
<User :size="13" class="mr-2 text-muted-foreground" />
Account
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem @click="openChangePassword()">
<DropdownMenuSeparator v-if="canChangePassword" />
<DropdownMenuItem v-if="canChangePassword" @click="openChangePassword()">
<KeyRound :size="13" class="mr-2 text-muted-foreground" />
Change Password
</DropdownMenuItem>