fix add_graph to add_profile
This commit is contained in:
parent
a5200c7436
commit
594c9413ba
|
@ -8,7 +8,7 @@
|
||||||
$: if ($login !== undefined) {
|
$: if ($login !== undefined) {
|
||||||
profilesPromise = getProfiles($login?.token);
|
profilesPromise = getProfiles($login?.token);
|
||||||
getPermissions($login?.token).then(permissions => {
|
getPermissions($login?.token).then(permissions => {
|
||||||
if (checkPermissions([Permissions.ADD_GRAPH], permissions)) {
|
if (checkPermissions([Permissions.ADD_PROFILE], permissions)) {
|
||||||
add = true;
|
add = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue