mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
fix #328 管理员账户无法删除
This commit is contained in:
@@ -365,7 +365,7 @@ onMounted(() => {
|
|||||||
</td>
|
</td>
|
||||||
<td>{{ user.is_superuser ? "是" : "否" }}</td>
|
<td>{{ user.is_superuser ? "是" : "否" }}</td>
|
||||||
<td>
|
<td>
|
||||||
<IconBtn v-show="!user.is_superuser">
|
<IconBtn v-show="accountInfo.is_superuser && accountInfo.name != user.name">
|
||||||
<VIcon icon="mdi-dots-vertical" />
|
<VIcon icon="mdi-dots-vertical" />
|
||||||
<VMenu
|
<VMenu
|
||||||
activator="parent"
|
activator="parent"
|
||||||
|
|||||||
Reference in New Issue
Block a user