Prechádzať zdrojové kódy

:fire: 编辑按钮

visuddhinanda 2 rokov pred
rodič
commit
f9bfd36179

+ 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>,
               </Dropdown.Button>,
             ];
             ];
           },
           },