diff --git a/frontend/src/utils/grid/cellRenderers.jsx b/frontend/src/utils/grid/cellRenderers.jsx index dc2a5e0e7..7563007f4 100644 --- a/frontend/src/utils/grid/cellRenderers.jsx +++ b/frontend/src/utils/grid/cellRenderers.jsx @@ -549,11 +549,7 @@ export const RoleRenderer = (props) => { .filter((role) => role !== roles.government && role !== roles.supplier) useEffect(() => { - setIsGovernmentRole( - Array.isArray(value) - ? value.includes(roles.government) - : value.includes(roles.government) - ) + setIsGovernmentRole(value.includes(roles.government)) }, [value]) return (