diff --git a/src/Components/Map/hooks/usePermissions.tsx b/src/Components/Map/hooks/usePermissions.tsx index 19e0efe..2dd2939 100644 --- a/src/Components/Map/hooks/usePermissions.tsx +++ b/src/Components/Map/hooks/usePermissions.tsx @@ -110,7 +110,7 @@ function usePermissionsManager (initialPermissions: Permission[]): { ( !item || evaluatePermissions(p.permissions) )) || - (p.policy?.name === "$t:public_label" && + (p.policy?.name === '$t:public_label' && ( (layer?.public_edit_items || item?.layer?.public_edit_items) && (!item || evaluatePermissions(p.permissions))