mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-08 07:51:37 +08:00
Refactor navigator utility functions and add isPWA check
This commit is contained in:
@@ -92,7 +92,9 @@ const canEditUser = computed(() => {
|
||||
|
||||
// 计算是否有用户管理权限
|
||||
const canManageUser = computed(() => {
|
||||
return canEditUser
|
||||
if (props.user.name == currentLoginUser) return false
|
||||
if (store.state.auth.superUser) return true
|
||||
return false
|
||||
})
|
||||
|
||||
// 用户重新完成时
|
||||
|
||||
Reference in New Issue
Block a user