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