fix reporting not updating and client ui cue #458

This commit is contained in:
Gregor Vostrak
2025-04-28 13:34:08 +02:00
parent ef9f353047
commit 3a482c1e6a
3 changed files with 11 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
<script setup lang="ts">
import { Popover, PopoverContent, PopoverTrigger } from '@/Components/ui/popover';
import { watch } from "vue";
const props = withDefaults(
defineProps<{
@@ -36,6 +37,12 @@ function onOpenChange(value: boolean) {
}
}
watch(open, (value) => {
if (value === false) {
emit('submit');
}
});
</script>
<template>