@embedreach/components 0.2.51 → 0.2.52

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.
@@ -81442,7 +81442,7 @@ const SegmentSection = ({
81442
81442
  return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
81443
81443
  MultiSelectDialog,
81444
81444
  {
81445
- canAddValues: canEditAudience,
81445
+ canOpen: canEditAudience,
81446
81446
  selectedValues: segmentSelectedIds,
81447
81447
  setSelectedValues: setSegmentSelectedIds,
81448
81448
  options,
@@ -81634,7 +81634,7 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
81634
81634
  setIncludedSegments((prev) => [...prev, id2]);
81635
81635
  }
81636
81636
  };
81637
- const canEditAudience = automation2?.status !== AutomationStatus.DRAFT;
81637
+ const canEditAudience = automation2?.status === AutomationStatus.DRAFT;
81638
81638
  return /* @__PURE__ */ jsxs(MainPageWrapper, { title: title2, children: [
81639
81639
  isLoading || !segments || !initialStateSet ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(BasicLoader, { text: ["Fetching segments", "Finishing up"] }) }) : /* @__PURE__ */ jsxs("div", { className: "flex gap-8 w-full pb-4 px-4", children: [
81640
81640
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col flex-1 relative overflow-y-auto pb-4 [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]", children: [