customer-module-frontend 1.0.0-beta.17 → 1.0.0-beta.18

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.
@@ -26545,14 +26545,14 @@ function bb() {
26545
26545
  const f = parseInt(d, 10);
26546
26546
  if (isNaN(f)) return "Account";
26547
26547
  const h = a[f];
26548
- return h?.company?.name ? h.company.name : t?.results?.find(
26548
+ return h?.company?.name ? h.company.name : t?.companies?.find(
26549
26549
  (v) => v.id === f
26550
26550
  )?.name || "Account";
26551
26551
  }, u = (d) => {
26552
26552
  const f = parseInt(d, 10);
26553
26553
  if (isNaN(f)) return "Contact";
26554
26554
  const h = o[f];
26555
- return h?.contact?.name ? h.contact.name : r?.results?.find(
26555
+ return h?.contact?.name ? h.contact.name : r?.contacts?.find(
26556
26556
  (v) => v.id === f
26557
26557
  )?.name || "Contact";
26558
26558
  };
@@ -26633,13 +26633,13 @@ function xb() {
26633
26633
  Xn(() => {
26634
26634
  a();
26635
26635
  }, [a]);
26636
- const r = er(() => !t && (!n?.results || n.results.length === 0) ? [{
26636
+ const r = er(() => !t && (!n?.companies || n.companies.length === 0) ? [{
26637
26637
  id: "no-data",
26638
26638
  name: "No account exist",
26639
26639
  domain: "",
26640
26640
  isNoDataRow: !0
26641
26641
  // Flag to identify this as a non-clickable row
26642
- }] : n?.results ? n.results.map((i) => ({
26642
+ }] : n?.companies ? n.companies.map((i) => ({
26643
26643
  id: i.id,
26644
26644
  name: i.name,
26645
26645
  domain: i.domains[0]?.name || i.generated_name,
@@ -26690,7 +26690,7 @@ function Ob() {
26690
26690
  Xn(() => {
26691
26691
  a();
26692
26692
  }, [a]);
26693
- const r = er(() => !t && (!n?.results || n.results.length === 0) ? [{
26693
+ const r = er(() => !t && (!n?.contacts || n.contacts.length === 0) ? [{
26694
26694
  id: "no-data",
26695
26695
  name: "No contact exist",
26696
26696
  email: "",
@@ -26702,7 +26702,7 @@ function Ob() {
26702
26702
  accountDisplay: /* @__PURE__ */ P(Lu, { account: "" }),
26703
26703
  isNoDataRow: !0
26704
26704
  // Flag to identify this as a non-clickable row
26705
- }] : n?.results ? n.results.map((i) => ({
26705
+ }] : n?.contacts ? n.contacts.map((i) => ({
26706
26706
  ...i,
26707
26707
  nameDisplay: /* @__PURE__ */ P(Mu, { name: i.name }),
26708
26708
  emailDisplay: /* @__PURE__ */ P(Au, { email: i.email }),