From 1a00e1c8e43c147b44a05048a7a43301cfa5bbab Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 11 Jul 2023 21:01:31 -0700 Subject: [PATCH] fix: :bug: save reactions if added --- locales/en-US.yml | 1 + packages/client/src/pages/settings/reaction.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index b7248e033..219ff42a1 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -644,6 +644,7 @@ useBlurEffectForModal: "Use blur effect for modals" useFullReactionPicker: "Use full-size reaction picker" width: "Width" height: "Height" +xl: "XL" large: "Big" medium: "Medium" small: "Small" diff --git a/packages/client/src/pages/settings/reaction.vue b/packages/client/src/pages/settings/reaction.vue index 953c39c5f..29f14fd48 100644 --- a/packages/client/src/pages/settings/reaction.vue +++ b/packages/client/src/pages/settings/reaction.vue @@ -83,7 +83,7 @@ - + import { defineAsyncComponent, watch } from "vue"; import { VueDraggable } from "vue-draggable-plus"; -import FormInput from "@/components/form/input.vue"; import FormRadios from "@/components/form/radios.vue"; import FromSlot from "@/components/form/slot.vue"; import FormButton from "@/components/MkButton.vue"; @@ -220,6 +219,7 @@ function chooseEmoji(ev: MouseEvent) { }).then((emoji) => { if (!reactions.includes(emoji)) { reactions.push(emoji); + save(); } }); }