summaryrefslogtreecommitdiffstats
path: root/ui/src/interfaces.ts
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-02-08 11:16:58 -0500
committerDessalines <tyhou13@gmx.com>2020-02-08 11:16:58 -0500
commit4b0227c45e0a22e4fbc09e1cd7ba7de3b0800e27 (patch)
treebc24b2b650fba7a766f3b4ae591bd760cc1b8fab /ui/src/interfaces.ts
parent41d8642bf5f40ad0e7d6009ff6088a9a1936cf04 (diff)
Change post sorting hot rank to use newest comment time. Fixes #517
Diffstat (limited to 'ui/src/interfaces.ts')
-rw-r--r--ui/src/interfaces.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/interfaces.ts b/ui/src/interfaces.ts
index 5736d375..185056f3 100644
--- a/ui/src/interfaces.ts
+++ b/ui/src/interfaces.ts
@@ -171,6 +171,7 @@ export interface Post {
upvotes: number;
downvotes: number;
hot_rank: number;
+ newest_activity_time: string;
user_id?: number;
my_vote?: number;
subscribed?: boolean;