From 05377a43648aafeee06d1e5fbd7c972d432b029b Mon Sep 17 00:00:00 2001 From: hay-kot Date: Tue, 25 May 2021 17:51:11 -0700 Subject: [PATCH] lazy load cards --- frontend/src/components/UI/CardSection.vue | 38 ++++++++++++---------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/UI/CardSection.vue b/frontend/src/components/UI/CardSection.vue index 54ceb4c84..3fb4c8cf5 100644 --- a/frontend/src/components/UI/CardSection.vue +++ b/frontend/src/components/UI/CardSection.vue @@ -58,14 +58,16 @@
- + + + @@ -78,14 +80,16 @@ v-for="recipe in recipes.slice(0, cardLimit)" :key="recipe.name" > - + + +
@@ -139,7 +143,7 @@ export default { data() { return { sortLoading: false, - cardLimit: 30, + cardLimit: 50, loading: false, EVENTS: { az: "az",