mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
ManageEventIndexDialog: Use formatCount to format the message and room count.
This commit is contained in:
parent
71024d1418
commit
128c0b7300
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ import PropTypes from 'prop-types';
|
|||
import { _t } from '../../../../languageHandler';
|
||||
|
||||
import Modal from '../../../../Modal';
|
||||
import {formatBytes} from "../../../../utils/FormattingUtils";
|
||||
import {formatBytes, formatCount} from "../../../../utils/FormattingUtils";
|
||||
import EventIndexPeg from "../../../../indexing/EventIndexPeg";
|
||||
import AccessibleButton from "../../../../components/views/elements/AccessibleButton";
|
||||
|
||||
|
@ -125,8 +125,8 @@ export default class ManageEventIndexDialog extends React.Component {
|
|||
}
|
||||
<div className='mx_SettingsTab_subsectionText'>
|
||||
{_t("Space used:")} {formatBytes(this.state.eventIndexSize, 0)}<br />
|
||||
{_t("Indexed messages:")} {this.state.eventCount}<br />
|
||||
{_t("Number of rooms:")} {this.state.roomCount}<br />
|
||||
{_t("Indexed messages:")} {formatCount(this.state.eventCount)}<br />
|
||||
{_t("Number of rooms:")} {formatCount(this.state.roomCount)}<br />
|
||||
{crawlerState}<br />
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue