Handle frontend levels

This commit is contained in:
Adria Navarro 2023-08-31 13:00:51 +02:00
parent 566f9ecd22
commit bbc484e2c4
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export function createPermissionStore() {
})
},
forResource: async resourceId => {
return await API.getPermissionForResource(resourceId)
return (await API.getPermissionForResource(resourceId)).permissions
},
}
}