feat: add options to select aspect ratio and cron algo for product images
This commit is contained in:
@@ -51,7 +51,6 @@ async function fetchProducts() {
|
||||
maxPages: props.block.data.max_page_count,
|
||||
perPage: perPage,
|
||||
filters: filtersStore.applied,
|
||||
image_aspect_ratio: props.block.data.image_aspect_ratio,
|
||||
}));
|
||||
products.value = response.data;
|
||||
hasMore.value = response.meta.hasMore;
|
||||
@@ -94,7 +93,6 @@ async function onLoadMore() {
|
||||
perPage: perPage,
|
||||
maxPages: props.block.data.max_page_count,
|
||||
filters: filtersStore.applied,
|
||||
image_aspect_ratio: props.block.data.image_aspect_ratio,
|
||||
}));
|
||||
products.value.push(...response.data);
|
||||
hasMore.value = response.meta.hasMore;
|
||||
|
||||
Reference in New Issue
Block a user