Shun Miyazawa 4 лет назад
Родитель
Сommit
6dfbb686df

+ 8 - 8
src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

@@ -124,14 +124,6 @@ const SlackIntegration = (props) => {
         onCancelClick={cancelBotChangeHandler}
       />
 
-      {(currentBotType === 'officialBot' || currentBotType === 'customBotWithProxy') && (
-        <button
-          className="mx-3 pull-right btn text-danger border-danger"
-          type="button"
-        >{t('admin:slack_integration.reset_all_settings')}
-        </button>
-      )}
-
       <div className="selecting-bot-type mb-5">
         <h2 className="admin-setting-header mb-4">
           {t('admin:slack_integration.selecting_bot_types.slack_bot')}
@@ -142,6 +134,14 @@ const SlackIntegration = (props) => {
           </a>
         </h2>
 
+        {(currentBotType === 'officialBot' || currentBotType === 'customBotWithProxy') && (
+          <button
+            className="mx-3 pull-right btn text-danger border-danger"
+            type="button"
+          >{t('admin:slack_integration.reset_all_settings')}
+          </button>
+        )}
+
         {t('admin:slack_integration.selecting_bot_types.selecting_bot_type')}
 
         <div className="row my-5 flex-wrap-reverse justify-content-center">