Fix issue with updating role permissions #13507

This commit is contained in:
Johannes Schill
2018-10-03 13:37:00 +02:00
parent d59c86ccbb
commit 97802f30ae
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ export function updateDashboardPermission(
continue; continue;
} }
const updated = toUpdateItem(itemToUpdate); const updated = toUpdateItem(item);
// if this is the item we want to update, update it's permisssion // if this is the item we want to update, update it's permisssion
if (itemToUpdate === item) { if (itemToUpdate === item) {

View File

@@ -110,7 +110,7 @@ export function updateFolderPermission(itemToUpdate: DashboardAcl, level: Permis
continue; continue;
} }
const updated = toUpdateItem(itemToUpdate); const updated = toUpdateItem(item);
// if this is the item we want to update, update it's permisssion // if this is the item we want to update, update it's permisssion
if (itemToUpdate === item) { if (itemToUpdate === item) {