Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Nov 1, 2024
1 parent 268368b commit 7d3d8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Map/hooks/usePermissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 7d3d8c0

Please sign in to comment.