mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
fix(UserProfile): 添加超级用户条件以控制站点认证对话框的显示
This commit is contained in:
@@ -111,7 +111,7 @@ const userLevel = computed(() => store.state.auth.level)
|
|||||||
</VListItem>
|
</VListItem>
|
||||||
|
|
||||||
<!-- 👉 Site Auth -->
|
<!-- 👉 Site Auth -->
|
||||||
<VListItem v-if="userLevel < 2" link @click="showSiteAuthDialog">
|
<VListItem v-if="userLevel < 2 && superUser" link @click="showSiteAuthDialog">
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<VIcon class="me-2" icon="mdi-lock-check-outline" size="22" />
|
<VIcon class="me-2" icon="mdi-lock-check-outline" size="22" />
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user