openchad-react 1.0.13 → 1.0.15

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 CHANGED
@@ -6749,7 +6749,7 @@ function Sidebar({
6749
6749
  ] }),
6750
6750
  /* @__PURE__ */ runtime.jsx("div", { style: {
6751
6751
  display: isCollapsedSidebar ? "none" : "block"
6752
- }, className: "mr-2 rounded-full bg-accent opacity-50 hover:opacity-100 w-6 h-6 flex items-center overflow-hidden relative", children: /* @__PURE__ */ runtime.jsx(Icons.GitBranch, { className: "p-[1px] cursor-pointer fill-[hsl(var(--card))] stroke-[hsl(var(--card))] relative top-[3px]" }) })
6752
+ }, className: "mr-2 opacity-50 hover:opacity-100 w-6 h-6 flex items-center justify-center overflow-hidden relative", children: /* @__PURE__ */ runtime.jsx(Icons.GitBranch, { className: "p-[1px] cursor-pointer relative" }) })
6753
6753
  ] }),
6754
6754
  /* @__PURE__ */ runtime.jsx(react.AnimatePresence, { children: showPopup && hoveredTabId && Object.keys(allTabs).includes(hoveredTabId) && /* @__PURE__ */ runtime.jsx(
6755
6755
  react.motion.div,
@@ -10411,6 +10411,12 @@ function DefaultPage(AppInfo) {
10411
10411
  if (typeof branchId === "string" && typeof targetTable === "string" && !isNaN(branchIndex)) {
10412
10412
  await request(value, targetTable, branchId, branchIndex, 0);
10413
10413
  }
10414
+ } else {
10415
+ setMessageState((prev) => ({
10416
+ ...prev,
10417
+ errorMsg: "No Model Selected",
10418
+ initialized: true
10419
+ }));
10414
10420
  }
10415
10421
  }
10416
10422
  },