fix: client tab in deal edit drawer
This commit is contained in:
@@ -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 />)}
|
||||||
|
|||||||
Reference in New Issue
Block a user