@streamoid/catalogix-chat 0.2.16 → 0.2.17
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1257,11 +1257,11 @@ function ProductTable({
|
|
|
1257
1257
|
] })
|
|
1258
1258
|
] }),
|
|
1259
1259
|
/* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-3", children: [
|
|
1260
|
-
onConfirmSelection &&
|
|
1260
|
+
onConfirmSelection && /* @__PURE__ */ jsx13(
|
|
1261
1261
|
Button,
|
|
1262
1262
|
{
|
|
1263
1263
|
onClick: onConfirmSelection,
|
|
1264
|
-
disabled: isSubmitting,
|
|
1264
|
+
disabled: isSubmitting || table.getFilteredSelectedRowModel().rows.length === 0,
|
|
1265
1265
|
size: "sm",
|
|
1266
1266
|
className: "h-7",
|
|
1267
1267
|
children: isSubmitting ? /* @__PURE__ */ jsxs5(Fragment2, { children: [
|
|
@@ -1734,7 +1734,7 @@ function SelectProducts({
|
|
|
1734
1734
|
if (!loading && products.length === 0) {
|
|
1735
1735
|
return /* @__PURE__ */ jsx16(Card, { className: "p-6 text-center text-muted-foreground", children: "No products found for this store." });
|
|
1736
1736
|
}
|
|
1737
|
-
return /* @__PURE__ */ jsxs7("div", { className: "flex h-[580px] flex-col gap-3 rounded-lg border border-border bg-card p-3 shadow-sm", children: [
|
|
1737
|
+
return /* @__PURE__ */ jsxs7("div", { className: "flex max-h-[580px] flex-col gap-3 rounded-lg border border-border bg-card p-3 shadow-sm", children: [
|
|
1738
1738
|
/* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-2", children: [
|
|
1739
1739
|
/* @__PURE__ */ jsxs7("div", { className: "relative flex-1", children: [
|
|
1740
1740
|
/* @__PURE__ */ jsx16(Search2, { className: "absolute left-2.5 top-1/2 size-4 -translate-y-1/2 text-muted-foreground" }),
|
package/package.json
CHANGED