summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNoteSub.vue
diff options
context:
space:
mode:
authorMar0xy <marie@kaifa.ch>2023-11-28 17:49:50 +0100
committerMarie <robloxfilmcam@gmail.com>2023-11-28 22:21:40 +0100
commitc9112b29499f50d975a9d6e6e7811ac0e3b22706 (patch)
treec121f0c513a41d7423231c914b3d21511bb1ebab /packages/frontend/src/components/MkNoteSub.vue
parentfix: quoted notes opening when clicking CW button (diff)
downloadsharkey-c9112b29499f50d975a9d6e6e7811ac0e3b22706.tar.gz
sharkey-c9112b29499f50d975a9d6e6e7811ac0e3b22706.tar.bz2
sharkey-c9112b29499f50d975a9d6e6e7811ac0e3b22706.zip
upd: use `null` as default on user like setting
Diffstat (limited to 'packages/frontend/src/components/MkNoteSub.vue')
-rw-r--r--packages/frontend/src/components/MkNoteSub.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue
index f61fc608d9..f9d1767ee5 100644
--- a/packages/frontend/src/components/MkNoteSub.vue
+++ b/packages/frontend/src/components/MkNoteSub.vue
@@ -133,7 +133,7 @@ const menuButton = shallowRef<HTMLElement>();
const likeButton = shallowRef<HTMLElement>();
let appearNote = $computed(() => isRenote ? props.note.renote as Misskey.entities.Note : props.note);
-const defaultLike = computed(() => defaultStore.state.like !== '❤️' ? defaultStore.state.like : null);
+const defaultLike = computed(() => defaultStore.state.like ? defaultStore.state.like : null);
const isRenote = (
props.note.renote != null &&