IO-2704 QBO/D Export resolution
This commit is contained in:
@@ -33,11 +33,6 @@ function FeatureWrapper({ bodyshop, featureName, noauth, children, ...restProps
|
||||
}
|
||||
|
||||
export function HasFeatureAccess({ featureName, bodyshop }) {
|
||||
console.log(
|
||||
'Feature Name', featureName,
|
||||
bodyshop?.features.allAccess,
|
||||
dayjs(bodyshop?.features[featureName]).isAfter(dayjs())
|
||||
);
|
||||
return bodyshop?.features.allAccess || dayjs(bodyshop?.features[featureName]).isAfter(dayjs());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user