IO-2703 Resolve incorrect Feature wrapper use.

This commit is contained in:
Patrick Fic
2024-03-19 10:16:42 -07:00
parent 01a9e7dc34
commit cdd5b26443
5 changed files with 25 additions and 23 deletions

View File

@@ -290,7 +290,7 @@ export function JobLinesComponent({
key: 'location',
render: (text, record) => <JobLineLocationPopup jobline={record} disabled={jobRO} />,
},
...(HasFeatureAccess({ featureName: 'bills' })
...(HasFeatureAccess({ featureName: 'bills', bodyshop })
? [
{
title: t('joblines.labels.billref'),