瀏覽代碼

disable 添加到文集

visuddhinanda 2 年之前
父節點
當前提交
52472d0a1e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      dashboard/src/components/export/ShareButton.tsx

+ 1 - 0
dashboard/src/components/export/ShareButton.tsx

@@ -58,6 +58,7 @@ const ShareButtonWidget = ({
               label: "添加到文集",
               key: "add_to_anthology",
               icon: <InboxOutlined />,
+              disabled: type === "article" ? false : true,
             },
             {
               label: "创建副本",