visuddhinanda 2 лет назад
Родитель
Сommit
5b450298f0
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      dashboard/src/components/discussion/DiscussionShow.tsx

+ 12 - 0
dashboard/src/components/discussion/DiscussionShow.tsx

@@ -234,6 +234,18 @@ const DiscussionShowWidget = ({
               </>
             ) : undefined}
           </span>
+          <Button
+            type="text"
+            onClick={() => {
+              if (typeof onReply !== "undefined") {
+                onReply();
+              }
+            }}
+          >
+            {intl.formatMessage({
+              id: "buttons.reply",
+            })}
+          </Button>
           <Dropdown
             menu={{ items, onClick }}
             placement="bottomRight"