Browse Source

disable 添加到文集

visuddhinanda 2 năm trước cách đây
mục cha
commit
52472d0a1e

+ 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: "创建副本",