Skip access API request if unchanged
This commit is contained in:
parent
08ee84c88b
commit
c8a7837868
|
@ -102,6 +102,9 @@
|
|||
}
|
||||
|
||||
const changePermission = async role => {
|
||||
if (role === selectedRole) {
|
||||
return
|
||||
}
|
||||
try {
|
||||
await permissionsStore.save({
|
||||
level: "read",
|
||||
|
|
Loading…
Reference in New Issue