mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-29 12:11:51 +01:00
-Fix user roles getting
This commit is contained in:
parent
a23e95ca0a
commit
736a43dbb0
@ -22,7 +22,7 @@ let User = {
|
||||
};
|
||||
localStorage.setItem("request_params", JSON.stringify(params));
|
||||
delete userData.data.token;
|
||||
userData["userPermissions"] = [1, 4, 14, 15]; //Owner, Customer, Seller, Deliverer
|
||||
userData.data["userPermissions"] = [1, 4, 14, 15]; //Owner, Customer, Seller, Deliverer
|
||||
localStorage.setItem("userData",JSON.stringify(userData.data));
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user