summaryrefslogtreecommitdiffstats
path: root/ui/src/interfaces.ts
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-01-20 10:11:50 -0500
committerDessalines <tyhou13@gmx.com>2020-01-20 10:11:50 -0500
commite31090c9bd2ac2c1a411026add0a3e36631cf8cd (patch)
tree8b28501446288f0c15463c41de6c819364d88381 /ui/src/interfaces.ts
parentf020e89a8c8b5a8dafc41cf40dc9fb6f881778fb (diff)
Adding comment and post vote loading indicators. Fixes #449
Diffstat (limited to 'ui/src/interfaces.ts')
-rw-r--r--ui/src/interfaces.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/interfaces.ts b/ui/src/interfaces.ts
index 7fc7a252..232d1388 100644
--- a/ui/src/interfaces.ts
+++ b/ui/src/interfaces.ts
@@ -164,6 +164,8 @@ export interface Post {
subscribed?: boolean;
read?: boolean;
saved?: boolean;
+ upvoteLoading?: boolean;
+ downvoteLoading?: boolean;
}
export interface Comment {
@@ -190,6 +192,8 @@ export interface Comment {
saved?: boolean;
user_mention_id?: number; // For mention type
recipient_id?: number;
+ upvoteLoading?: boolean;
+ downvoteLoading?: boolean;
}
export interface Category {