Changeset View
Changeset View
Standalone View
Standalone View
web/modals/threads/settings/thread-settings-delete-tab.react.js
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | <form method="POST"> | ||||
disabled={threadSettingsOperationInProgress} | disabled={threadSettingsOperationInProgress} | ||||
ref={accountPasswordInputRef} | ref={accountPasswordInputRef} | ||||
/> | /> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<Button | <Button | ||||
onClick={onDelete} | onClick={onDelete} | ||||
variant="danger" | variant="danger" | ||||
disabled={threadSettingsOperationInProgress} | disabled={ | ||||
threadSettingsOperationInProgress || accountPassword.length === 0 | |||||
} | |||||
className={css.delete_button} | className={css.delete_button} | ||||
> | > | ||||
Delete | Delete | ||||
</Button> | </Button> | ||||
</form> | </form> | ||||
); | ); | ||||
} | } | ||||
export default ThreadSettingsDeleteTab; | export default ThreadSettingsDeleteTab; |