Sfoglia il codice sorgente

add resetAll props

Shun Miyazawa 4 anni fa
parent
commit
ff8b7f18e1

+ 1 - 1
src/client/js/components/Admin/SlackIntegration/DeleteSlackBotSettingsModal.jsx

@@ -56,7 +56,7 @@ const DeleteSlackBotSettingsModal = React.memo((props) => {
 
 
 DeleteSlackBotSettingsModal.propTypes = {
 DeleteSlackBotSettingsModal.propTypes = {
   t: PropTypes.func.isRequired, // i18next
   t: PropTypes.func.isRequired, // i18next
-
+  resetAll: PropTypes.bool,
   isOpen: PropTypes.bool.isRequired,
   isOpen: PropTypes.bool.isRequired,
   onClose: PropTypes.func,
   onClose: PropTypes.func,
   onClickDeleteButton: PropTypes.func,
   onClickDeleteButton: PropTypes.func,

+ 1 - 0
src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

@@ -127,6 +127,7 @@ const SlackIntegration = (props) => {
       />
       />
 
 
       <DeleteSlackBotSettingsModal
       <DeleteSlackBotSettingsModal
+        resetAll
         isOpen={isDeleteConfirmModalShown}
         isOpen={isDeleteConfirmModalShown}
         onClose={() => setIsDeleteConfirmModalShown(false)}
         onClose={() => setIsDeleteConfirmModalShown(false)}
       />
       />