mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	fix: multiple RecipeRating backend calls (#6194)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
		| @@ -13,7 +13,6 @@ | |||||||
|         hover |         hover | ||||||
|         clearable |         clearable | ||||||
|         @update:model-value="updateRating(+$event)" |         @update:model-value="updateRating(+$event)" | ||||||
|         @click="updateRating" |  | ||||||
|       /> |       /> | ||||||
|       <!-- Group Rating --> |       <!-- Group Rating --> | ||||||
|       <v-rating v-else |       <v-rating v-else | ||||||
| @@ -83,7 +82,7 @@ export default defineNuxtComponent({ | |||||||
|     }); |     }); | ||||||
|  |  | ||||||
|     function updateRating(val?: number) { |     function updateRating(val?: number) { | ||||||
|       if (!isOwnGroup.value) { |       if (!isOwnGroup.value || !val) { | ||||||
|         return; |         return; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user