fix: multiple RecipeRating backend calls (#6194)

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
Arsène Reymond
2025-09-20 17:27:17 +02:00
committed by GitHub
parent a9090bc2bd
commit 078b4563b3

View File

@@ -13,7 +13,6 @@
hover
clearable
@update:model-value="updateRating(+$event)"
@click="updateRating"
/>
<!-- Group Rating -->
<v-rating v-else
@@ -83,7 +82,7 @@ export default defineNuxtComponent({
});
function updateRating(val?: number) {
if (!isOwnGroup.value) {
if (!isOwnGroup.value || !val) {
return;
}