Merged in feature/IO-3020-IO-3036-imex-lite-rome-lite (pull request #2021)

IO-3020 IO-3036 Remove Audit and Lifecycle feature wraps.
This commit is contained in:
Patrick Fic
2024-12-13 16:28:32 +00:00
9 changed files with 60 additions and 34 deletions

View File

@@ -1,3 +1,4 @@
import { useSplitTreatments } from "@splitsoftware/splitio-react";
import { Button, Card, Tabs } from "antd";
import React from "react";
@@ -94,7 +95,7 @@ export function ShopInfoComponent({ bodyshop, form, saveLoading }) {
key: "checklists",
label: <LockWrapperComponent featureName="checklist">{t("bodyshop.labels.checklists")}</LockWrapperComponent>,
children: <ShopInfoIntakeChecklistComponent form={form} />,
disabled: HasFeatureAccess({ bodyshop, featureName: "checklist" }),
disabled: !HasFeatureAccess({ bodyshop, featureName: "checklist" }),
id: "tab-shop-checklists"
},
{