mentions: [],
messages: [],
combined: [],
- sort: CommentSortType.New,
+ sort: "New",
page: 1,
siteRes: this.isoData.site_res,
loading: true,
static fetchInitialData(req: InitialFetchRequest): Promise<any>[] {
let promises: Promise<any>[] = [];
- let sort = CommentSortType.New;
+ let sort: CommentSortType = "New";
let auth = req.auth;
if (auth) {
// It can be /u/me, or /username/1
let repliesForm: GetReplies = {
- sort,
+ sort: "New",
unread_only: true,
page: 1,
limit: fetchLimit,