diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-08 12:14:51 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-08 12:14:51 -0600 |
commit | 1fbc4cf1f2279cf4cf6804ff02616515e82d2a38 (patch) | |
tree | 0796e390ba5a04e5c46ea9a560809803252fda78 /src/state/models/notifications-view.ts | |
parent | e650d98924051abfee40ff956f7348e2e47e7cd7 (diff) | |
download | voidsky-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.ts | 4 |
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() { |