mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-23 15:05:51 +00:00
Fix profile paging. Fixes #416
This commit is contained in:
parent
4b23b78efe
commit
a9a9db54ed
|
@ -92,6 +92,7 @@ export class Profile extends Component<any, ProfileState> {
|
||||||
|
|
||||||
this.state = this.emptyState;
|
this.state = this.emptyState;
|
||||||
this.handleSortChange = this.handleSortChange.bind(this);
|
this.handleSortChange = this.handleSortChange.bind(this);
|
||||||
|
this.handlePageChange = this.handlePageChange.bind(this);
|
||||||
|
|
||||||
this.parseMessage = this.parseMessage.bind(this);
|
this.parseMessage = this.parseMessage.bind(this);
|
||||||
this.subscription = wsSubscribe(this.parseMessage);
|
this.subscription = wsSubscribe(this.parseMessage);
|
||||||
|
|
|
@ -1432,8 +1432,8 @@ export function initializeSite(site: GetSiteResponse) {
|
||||||
i18n.changeLanguage(getLanguage());
|
i18n.changeLanguage(getLanguage());
|
||||||
}
|
}
|
||||||
|
|
||||||
let SHORTNUM_SI_FORMAT = new Intl.NumberFormat("en-US", {
|
const SHORTNUM_SI_FORMAT = new Intl.NumberFormat("en-US", {
|
||||||
maximumFractionDigits: 1,
|
maximumSignificantDigits: 3,
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
notation: "compact",
|
notation: "compact",
|
||||||
compactDisplay: "short",
|
compactDisplay: "short",
|
||||||
|
|
Loading…
Reference in a new issue