浏览代码

:fire: 编辑按钮

visuddhinanda 2 年之前
父节点
当前提交
f9bfd36179
共有 1 个文件被更改,包括 1 次插入12 次删除
  1. 1 12
      dashboard/src/components/channel/ChapterInChannelList.tsx

+ 1 - 12
dashboard/src/components/channel/ChapterInChannelList.tsx

@@ -155,18 +155,7 @@ const ChpaterInChannelListWidget = ({ channelId, onSelect }: IWidget) => {
                   },
                 }}
               >
-                <Link
-                  to={
-                    `/article/chapter/${row.book}-${row.paragraph}/edit` +
-                    channelId
-                      ? `?channel=${channelId}`
-                      : ""
-                  }
-                >
-                  {intl.formatMessage({
-                    id: "buttons.edit",
-                  })}
-                </Link>
+                <></>
               </Dropdown.Button>,
             ];
           },