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