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.mjs CHANGED
@@ -5295,7 +5295,7 @@ function Sidebar({
5295
5295
  ] }),
5296
5296
  /* @__PURE__ */ jsx("div", { style: {
5297
5297
  display: isCollapsedSidebar ? "none" : "block"
5298
- }, className: "mr-2 rounded-full bg-accent opacity-50 hover:opacity-100 w-6 h-6 flex items-center overflow-hidden relative", children: /* @__PURE__ */ jsx(GitBranch, { className: "p-[1px] cursor-pointer fill-[hsl(var(--card))] stroke-[hsl(var(--card))] relative top-[3px]" }) })
5298
+ }, className: "mr-2 opacity-50 hover:opacity-100 w-6 h-6 flex items-center justify-center overflow-hidden relative", children: /* @__PURE__ */ jsx(GitBranch, { className: "p-[1px] cursor-pointer relative" }) })
5299
5299
  ] }),
5300
5300
  /* @__PURE__ */ jsx(AnimatePresence, { children: showPopup && hoveredTabId && Object.keys(allTabs).includes(hoveredTabId) && /* @__PURE__ */ jsx(
5301
5301
  motion.div,
@@ -8957,6 +8957,12 @@ function DefaultPage(AppInfo) {
8957
8957
  if (typeof branchId === "string" && typeof targetTable === "string" && !isNaN(branchIndex)) {
8958
8958
  await request(value, targetTable, branchId, branchIndex, 0);
8959
8959
  }
8960
+ } else {
8961
+ setMessageState((prev) => ({
8962
+ ...prev,
8963
+ errorMsg: "No Model Selected",
8964
+ initialized: true
8965
+ }));
8960
8966
  }
8961
8967
  }
8962
8968
  },