@fayz-ai/plugin-crm 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/views/DealCardModal.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -3362,7 +3362,13 @@ function DealCardModal({ dealId, open, onClose, onViewLead, onViewQuote, onViewC
|
|
|
3362
3362
|
if (!o) onClose();
|
|
3363
3363
|
}, children: /* @__PURE__ */ jsxs(ModalContent, { size: "5xl", noPadding: true, children: [
|
|
3364
3364
|
/* @__PURE__ */ jsxs(ModalHeader, { className: "flex-row items-center justify-between gap-3 border-b px-5 py-3.5", children: [
|
|
3365
|
-
/* @__PURE__ */
|
|
3365
|
+
/* @__PURE__ */ jsxs(ModalTitle, { className: "min-w-0 truncate text-base", children: [
|
|
3366
|
+
loading ? t2("crm.leadDetail.loading") : deal?.companyName || deal?.title || t2("crm.dealSidebar.deal"),
|
|
3367
|
+
!loading && deal?.companyName && deal?.contactName && /* @__PURE__ */ jsxs("span", { className: "ml-2 truncate text-sm font-normal text-muted-foreground", children: [
|
|
3368
|
+
"\xB7 ",
|
|
3369
|
+
deal.contactName
|
|
3370
|
+
] })
|
|
3371
|
+
] }),
|
|
3366
3372
|
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2 pr-8", children: [
|
|
3367
3373
|
deal?.status === "open" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3368
3374
|
/* @__PURE__ */ jsxs(Button, { size: "sm", variant: "outline", disabled: closing, onClick: () => {
|