fix add_graph to add_profile

This commit is contained in:
Gleb Koval 2021-11-19 10:39:02 +00:00
parent a5200c7436
commit 594c9413ba
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
$: if ($login !== undefined) {
profilesPromise = getProfiles($login?.token);
getPermissions($login?.token).then(permissions => {
if (checkPermissions([Permissions.ADD_GRAPH], permissions)) {
if (checkPermissions([Permissions.ADD_PROFILE], permissions)) {
add = true;
}
});