Browse Source

disable 添加到文集

visuddhinanda 2 years ago
parent
commit
52472d0a1e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dashboard/src/components/export/ShareButton.tsx

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

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