From ec883ad00695a651aa24fae7bac4b7fa81f5deca Mon Sep 17 00:00:00 2001 From: chloe Date: Thu, 19 Mar 2026 01:19:21 +0000 Subject: [PATCH] commented out mock data --- Seasoned.Frontend/app/pages/gallery.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Seasoned.Frontend/app/pages/gallery.vue b/Seasoned.Frontend/app/pages/gallery.vue index 6a111ff..e7f5d47 100644 --- a/Seasoned.Frontend/app/pages/gallery.vue +++ b/Seasoned.Frontend/app/pages/gallery.vue @@ -241,7 +241,7 @@ import { ref, onMounted, computed, watch } from 'vue' import '@/assets/css/gallery.css' import '@/assets/css/app-theme.css' -const mockRecipes = [ +/*const mockRecipes = [ { id: 1, title: "Miso-Glazed Smashed Burger", @@ -307,11 +307,11 @@ const mockRecipes = [ createdAt: "2026-03-11T07:45:00Z" } ] - -//const recipes = ref([]) -const recipes = ref(mockRecipes) -const loading = ref(false) -//const loading = ref(true) +*/ +const recipes = ref([]) +//const recipes = ref(mockRecipes) +//const loading = ref(false) +const loading = ref(true) const showDetails = ref(false) const selectedRecipe = ref(null) const isEditing = ref(false) @@ -322,8 +322,8 @@ const isSearching = ref(false) let debounceTimeout = null onMounted(async () => { - //await fetchRecipes() - loading.value = false + await fetchRecipes() + //loading.value = false }) const fetchRecipes = async () => {