mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
fix: 🐛 save reactions if added
This commit is contained in:
parent
5e559fe482
commit
1a00e1c8e4
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
<option :value="1">{{ i18n.ts.small }}</option>
|
||||
<option :value="2">{{ i18n.ts.medium }}</option>
|
||||
<option :value="3">{{ i18n.ts.large }}</option>
|
||||
<option :value="4">{{ i18n.ts.large }}+</option>
|
||||
<option :value="4">{{ i18n.ts.xl }}</option>
|
||||
</FormRadios>
|
||||
|
||||
<FormSwitch
|
||||
|
@ -123,7 +123,6 @@
|
|||
<script lang="ts" setup>
|
||||
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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue