summaryrefslogtreecommitdiff
path: root/src/client/components
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-05-04 17:02:14 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-05-04 17:02:14 +0900
commite9170e630c35a7669e99f7e6fb73243f171ac7b8 (patch)
treea79185b47847cfb62ec082fb3ecdebd5997df124 /src/client/components
parentPassword reset (#7494) (diff)
downloadsharkey-e9170e630c35a7669e99f7e6fb73243f171ac7b8.tar.gz
sharkey-e9170e630c35a7669e99f7e6fb73243f171ac7b8.tar.bz2
sharkey-e9170e630c35a7669e99f7e6fb73243f171ac7b8.zip
リアクションピッカーの設定がリアルタイムで反映されない問題を修正
Diffstat (limited to 'src/client/components')
-rw-r--r--src/client/components/emoji-picker.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/components/emoji-picker.vue b/src/client/components/emoji-picker.vue
index 9bec319af2..06653324d7 100644
--- a/src/client/components/emoji-picker.vue
+++ b/src/client/components/emoji-picker.vue
@@ -35,6 +35,7 @@
class="_button"
@click="chosen(emoji, $event)"
tabindex="0"
+ :key="emoji"
>
<MkEmoji :emoji="emoji" :normal="true"/>
</button>
@@ -104,7 +105,7 @@ export default defineComponent({
return {
emojilist: markRaw(emojilist),
getStaticImageUrl,
- pinned: this.$store.state.reactions,
+ pinned: this.$store.reactiveState.reactions,
width: this.asReactionPicker ? this.$store.state.reactionPickerWidth : 3,
height: this.asReactionPicker ? this.$store.state.reactionPickerHeight : 2,
big: this.asReactionPicker ? isDeviceTouch : false,