mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -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"
|
useFullReactionPicker: "Use full-size reaction picker"
|
||||||
width: "Width"
|
width: "Width"
|
||||||
height: "Height"
|
height: "Height"
|
||||||
|
xl: "XL"
|
||||||
large: "Big"
|
large: "Big"
|
||||||
medium: "Medium"
|
medium: "Medium"
|
||||||
small: "Small"
|
small: "Small"
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
<option :value="1">{{ i18n.ts.small }}</option>
|
<option :value="1">{{ i18n.ts.small }}</option>
|
||||||
<option :value="2">{{ i18n.ts.medium }}</option>
|
<option :value="2">{{ i18n.ts.medium }}</option>
|
||||||
<option :value="3">{{ i18n.ts.large }}</option>
|
<option :value="3">{{ i18n.ts.large }}</option>
|
||||||
<option :value="4">{{ i18n.ts.large }}+</option>
|
<option :value="4">{{ i18n.ts.xl }}</option>
|
||||||
</FormRadios>
|
</FormRadios>
|
||||||
|
|
||||||
<FormSwitch
|
<FormSwitch
|
||||||
|
@ -123,7 +123,6 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { defineAsyncComponent, watch } from "vue";
|
import { defineAsyncComponent, watch } from "vue";
|
||||||
import { VueDraggable } from "vue-draggable-plus";
|
import { VueDraggable } from "vue-draggable-plus";
|
||||||
import FormInput from "@/components/form/input.vue";
|
|
||||||
import FormRadios from "@/components/form/radios.vue";
|
import FormRadios from "@/components/form/radios.vue";
|
||||||
import FromSlot from "@/components/form/slot.vue";
|
import FromSlot from "@/components/form/slot.vue";
|
||||||
import FormButton from "@/components/MkButton.vue";
|
import FormButton from "@/components/MkButton.vue";
|
||||||
|
@ -220,6 +219,7 @@ function chooseEmoji(ev: MouseEvent) {
|
||||||
}).then((emoji) => {
|
}).then((emoji) => {
|
||||||
if (!reactions.includes(emoji)) {
|
if (!reactions.includes(emoji)) {
|
||||||
reactions.push(emoji);
|
reactions.push(emoji);
|
||||||
|
save();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue