Add pic upload for hunt admins

This commit is contained in:
2025-09-11 23:18:02 +02:00
parent 5d4e802796
commit 3e1bfa46d9
6 changed files with 242 additions and 2 deletions
@@ -1,4 +1,5 @@
<script setup lang="ts">
import { createImageURL } from '#shared/utils/image';
import ClickableImage from '~/components/ClickableImage.vue';
import MultilineString from '~/components/MultilineString.vue';
import { useI18nKey } from '~/composables/useI18nKey';
@@ -102,8 +103,6 @@ async function submit() {
uploading.value = false;
}
const createImageURL = (file: File) => URL.createObjectURL(file);
</script>
<template>