@zero-library/chat-agent 2.3.0 → 2.3.1

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.cjs.js CHANGED
@@ -2207,7 +2207,7 @@ var QuickAskPanel_default = () => {
2207
2207
  try {
2208
2208
  await configState.services.request?.labelItemTop?.({
2209
2209
  id: item.id,
2210
- isTop: !item.isTop
2210
+ isTop: item.isTop ? 0 : 1
2211
2211
  });
2212
2212
  message2.success(item.isTop ? "\u53D6\u6D88\u7F6E\u9876\u6210\u529F" : "\u7F6E\u9876\u6210\u529F");
2213
2213
  fetchItems();
@@ -2407,7 +2407,7 @@ var FeaturesRenderer_default = () => {
2407
2407
  children: "\u5411\u4E13\u5BB6\u54A8\u8BE2"
2408
2408
  }
2409
2409
  ),
2410
- /* @__PURE__ */ jsxRuntime.jsx(
2410
+ receiverState.active.feature?.quickAsk && /* @__PURE__ */ jsxRuntime.jsx(
2411
2411
  antd.Popover,
2412
2412
  {
2413
2413
  trigger: "click",