mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 04:20:07 +02:00
optimize playlist edit modal (#1234)
- remove user list fetch if not admin - move to context modal to allow dynamic content
This commit is contained in:
@@ -161,6 +161,7 @@ export const usePermissions = () => {
|
||||
|
||||
return {
|
||||
playlists: {
|
||||
editOwner: isAdmin,
|
||||
editPublic: isAdmin,
|
||||
},
|
||||
radio: {
|
||||
|
||||
Reference in New Issue
Block a user