fix: client tab in deal edit drawer

This commit is contained in:
2024-12-24 00:42:41 +04:00
parent db21801cc1
commit d3c4ed3fc6

View File

@@ -9,6 +9,7 @@ import ProductAndServiceTab from "../../tabs/ProductAndServiceTab/ProductAndServ
import { motion } from "framer-motion"; import { motion } from "framer-motion";
import ShippingTab from "../../tabs/ShippingTab/ShippingTab.tsx"; import ShippingTab from "../../tabs/ShippingTab/ShippingTab.tsx";
import EmployeesTab from "../../tabs/EmployeesTab/EmployeesTab.tsx"; import EmployeesTab from "../../tabs/EmployeesTab/EmployeesTab.tsx";
import ClientTab from "./tabs/ClientTab.tsx";
const useDealStatusChangeState = () => { const useDealStatusChangeState = () => {
const { selectedDeal } = useDealPageContext(); const { selectedDeal } = useDealPageContext();
@@ -112,7 +113,7 @@ const DealEditDrawer: FC = () => {
</Tabs.Tab> </Tabs.Tab>
</Tabs.List> </Tabs.List>
{getTabPanel("general", <DealEditDrawerGeneralTab />)} {getTabPanel("general", <DealEditDrawerGeneralTab />)}
{getTabPanel("client", <DealEditDrawerStatusChangeTable />)} {getTabPanel("client", <ClientTab />)}
{getTabPanel("history", <DealEditDrawerStatusChangeTable />)} {getTabPanel("history", <DealEditDrawerStatusChangeTable />)}
{getTabPanel("servicesAndProducts", <ProductAndServiceTab />)} {getTabPanel("servicesAndProducts", <ProductAndServiceTab />)}
{getTabPanel("shipment", <ShippingTab />)} {getTabPanel("shipment", <ShippingTab />)}