diff --git a/client/src/components/shop-info/shop-info.rbac.component.jsx b/client/src/components/shop-info/shop-info.rbac.component.jsx index 050449097..8291c9c4f 100644 --- a/client/src/components/shop-info/shop-info.rbac.component.jsx +++ b/client/src/components/shop-info/shop-info.rbac.component.jsx @@ -30,7 +30,7 @@ export function ShopInfoRbacComponent({ form, bodyshop }) { return ( - {...HasFeatureAccess({ featureName: "export", bodyshop }) && [ + {...HasFeatureAccess({ featureName: "export", bodyshop }) ? [ - ]} - {...HasFeatureAccess({ featureName: "bills", bodyshop }) && [ + ]:[]} + {...HasFeatureAccess({ featureName: "bills", bodyshop }) ? [ - ]} + ]:[]} - {...HasFeatureAccess({ featureName: "courtesycars", bodyshop }) && [ + {...HasFeatureAccess({ featureName: "courtesycars", bodyshop }) ? [ - ]} - {...HasFeatureAccess({ featureName: "csi", bodyshop }) && [ + ]:[]} + {...HasFeatureAccess({ featureName: "csi", bodyshop }) ? [ - ]} + ]:[]} )} - {...HasFeatureAccess({ featureName: "timetickets", bodyshop }) && [ + {...HasFeatureAccess({ featureName: "timetickets", bodyshop }) ? [ - ]} + ]:[]}