You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
DisableEventIndexDialog: Properly indent the content of the BaseDialog.
This commit is contained in:
@@ -60,16 +60,16 @@ export default class DisableEventIndexDialog extends React.Component {
|
|||||||
onFinished={this.props.onFinished}
|
onFinished={this.props.onFinished}
|
||||||
title={_t("Are you sure?")}
|
title={_t("Are you sure?")}
|
||||||
>
|
>
|
||||||
{_t("If disabled, messages from encrypted rooms won't appear in search results.")}
|
{_t("If disabled, messages from encrypted rooms won't appear in search results.")}
|
||||||
<div className="mx_Dialog_buttons">
|
<div className="mx_Dialog_buttons">
|
||||||
<AccessibleButton kind="secondary" onClick={this.props.onFinished}>
|
<AccessibleButton kind="secondary" onClick={this.props.onFinished}>
|
||||||
{_t("Cancel")}
|
{_t("Cancel")}
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
<AccessibleButton kind="danger" disabled={this.state.disabling} onClick={this._onDisable}>
|
<AccessibleButton kind="danger" disabled={this.state.disabling} onClick={this._onDisable}>
|
||||||
{_t("Disable")}
|
{_t("Disable")}
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
{this.state.enabling ? <InlineSpinner /> : <div />}
|
{this.state.enabling ? <InlineSpinner /> : <div />}
|
||||||
</div>
|
</div>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user