mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	add recipe.image cache key to bush caches (#1427)
* add recipe.image cache key to bush caches * hotfix: TS type error
This commit is contained in:
		| @@ -47,8 +47,8 @@ export default defineComponent({ | |||||||
|   }, |   }, | ||||||
|   emits: ["delete", "save", "test"], |   emits: ["delete", "save", "test"], | ||||||
|   setup(props, { emit }) { |   setup(props, { emit }) { | ||||||
|     const itemUTC = ref(props.webhook.scheduledTime); |     const itemUTC = ref<string>(props.webhook.scheduledTime); | ||||||
|     const itemLocal = ref(timeUTCToLocal(props.webhook.scheduledTime)); |     const itemLocal = ref<string>(timeUTCToLocal(props.webhook.scheduledTime)); | ||||||
|  |  | ||||||
|     const scheduledTime = computed({ |     const scheduledTime = computed({ | ||||||
|       get() { |       get() { | ||||||
|   | |||||||
| @@ -35,7 +35,7 @@ | |||||||
|           :max-width="enableLandscape ? null : '50%'" |           :max-width="enableLandscape ? null : '50%'" | ||||||
|           min-height="50" |           min-height="50" | ||||||
|           :height="hideImage ? undefined : imageHeight" |           :height="hideImage ? undefined : imageHeight" | ||||||
|           :src="recipeImage(recipe.id, imageKey)" |           :src="recipeImage(recipe.id, recipe.image, imageKey)" | ||||||
|           class="d-print-none" |           class="d-print-none" | ||||||
|           @error="hideImage = true" |           @error="hideImage = true" | ||||||
|         > |         > | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ | |||||||
|           :key="imageKey" |           :key="imageKey" | ||||||
|           :max-width="enableLandscape ? null : '50%'" |           :max-width="enableLandscape ? null : '50%'" | ||||||
|           :height="hideImage ? '50' : imageHeight" |           :height="hideImage ? '50' : imageHeight" | ||||||
|           :src="recipeImage(recipe.id, imageKey)" |           :src="recipeImage(recipe.id, recipe.image, imageKey)" | ||||||
|           class="d-print-none" |           class="d-print-none" | ||||||
|           @error="hideImage = true" |           @error="hideImage = true" | ||||||
|         > |         > | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user