Skip to content

Commit

Permalink
Remove zone select for read only
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalcengio committed Jun 3, 2024
1 parent a185fa1 commit ab894c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/selectRangeUsePlanPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
axios,
getAuthHeaderConfig,
isUserAgrologist,
isUserReadOnly,
isUserAdmin,
getDataFromLocalStorage,
saveDataInLocalStorage
Expand Down Expand Up @@ -243,7 +242,7 @@ const SelectRangeUsePlanPage = ({ match, history }) => {
setSearchSelectedZones={setSearchSelectedZones}
/>
)}
{(isUserAdmin(user) || isUserReadOnly(user)) && (
{(isUserAdmin(user)) && (
<ZoneSelectAll
zones={zones}
zoneUsers={zoneUsers}
Expand Down

0 comments on commit ab894c6

Please sign in to comment.