mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-05-24 01:12:54 -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:
parent
c865bc7769
commit
f122c382e9
@ -47,8 +47,8 @@ export default defineComponent({
|
||||
},
|
||||
emits: ["delete", "save", "test"],
|
||||
setup(props, { emit }) {
|
||||
const itemUTC = ref(props.webhook.scheduledTime);
|
||||
const itemLocal = ref(timeUTCToLocal(props.webhook.scheduledTime));
|
||||
const itemUTC = ref<string>(props.webhook.scheduledTime);
|
||||
const itemLocal = ref<string>(timeUTCToLocal(props.webhook.scheduledTime));
|
||||
|
||||
const scheduledTime = computed({
|
||||
get() {
|
||||
|
@ -35,7 +35,7 @@
|
||||
:max-width="enableLandscape ? null : '50%'"
|
||||
min-height="50"
|
||||
:height="hideImage ? undefined : imageHeight"
|
||||
:src="recipeImage(recipe.id, imageKey)"
|
||||
:src="recipeImage(recipe.id, recipe.image, imageKey)"
|
||||
class="d-print-none"
|
||||
@error="hideImage = true"
|
||||
>
|
||||
|
@ -34,7 +34,7 @@
|
||||
:key="imageKey"
|
||||
:max-width="enableLandscape ? null : '50%'"
|
||||
:height="hideImage ? '50' : imageHeight"
|
||||
:src="recipeImage(recipe.id, imageKey)"
|
||||
:src="recipeImage(recipe.id, recipe.image, imageKey)"
|
||||
class="d-print-none"
|
||||
@error="hideImage = true"
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user