about summary refs log tree commit diff
path: root/src/state/models/notifications-view.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-11-08 12:14:51 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-11-08 12:14:51 -0600
commit1fbc4cf1f2279cf4cf6804ff02616515e82d2a38 (patch)
tree0796e390ba5a04e5c46ea9a560809803252fda78 /src/state/models/notifications-view.ts
parente650d98924051abfee40ff956f7348e2e47e7cd7 (diff)
downloadvoidsky-1fbc4cf1f2279cf4cf6804ff02616515e82d2a38.tar.zst
Finish the upvote/downvote implementation
Diffstat (limited to 'src/state/models/notifications-view.ts')
-rw-r--r--src/state/models/notifications-view.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/notifications-view.ts b/src/state/models/notifications-view.ts
index 8d8eede05..7b1508a19 100644
--- a/src/state/models/notifications-view.ts
+++ b/src/state/models/notifications-view.ts
@@ -57,8 +57,8 @@ export class NotificationsViewItemModel implements GroupedNotification {
     }
   }
 
-  get isLike() {
-    return this.reason === 'like'
+  get isUpvote() {
+    return this.reason === 'vote'
   }
 
   get isRepost() {