diff --git a/web/modals/threads/settings/thread-settings-delete-tab.react.js b/web/modals/threads/settings/thread-settings-delete-tab.react.js --- a/web/modals/threads/settings/thread-settings-delete-tab.react.js +++ b/web/modals/threads/settings/thread-settings-delete-tab.react.js @@ -20,7 +20,7 @@ import css from './thread-settings-delete-tab.css'; type ThreadSettingsDeleteTabProps = { - +inputDisabled: boolean, + +threadSettingsOperationInProgress: boolean, +threadInfo: ThreadInfo, +setErrorMessage: SetState, }; @@ -28,7 +28,11 @@ function ThreadSettingsDeleteTab( props: ThreadSettingsDeleteTabProps, ): React.Node { - const { inputDisabled, threadInfo, setErrorMessage } = props; + const { + threadSettingsOperationInProgress, + threadInfo, + setErrorMessage, + } = props; const modalContext = useModalContext(); const dispatchActionPromise = useDispatchActionPromise(); @@ -97,7 +101,7 @@ placeholder="Password" value={accountPassword} onChange={onChangeAccountPassword} - disabled={inputDisabled} + disabled={threadSettingsOperationInProgress} ref={accountPasswordInputRef} /> @@ -105,7 +109,7 @@