From 7d3d8c006d37455aee4e4f39507637dfbcf6a5cc Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 1 Nov 2024 14:59:04 +0100 Subject: [PATCH] lint fix --- src/Components/Map/hooks/usePermissions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))