Handle frontend levels
This commit is contained in:
parent
566f9ecd22
commit
bbc484e2c4
|
@ -21,7 +21,7 @@ export function createPermissionStore() {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
forResource: async resourceId => {
|
forResource: async resourceId => {
|
||||||
return await API.getPermissionForResource(resourceId)
|
return (await API.getPermissionForResource(resourceId)).permissions
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue