From c6fe4f9d98a25d434348ffbff6ccc816450ecff5 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Mon, 29 Mar 2021 14:24:19 +0200 Subject: [PATCH] / Changed html / data display --- components/celestials/CelestialsList.vue | 4 +- pages/astres/_slug.vue | 76 ++++++++++++------------ pages/astres/index.vue | 18 +++--- pages/favoris/index.vue | 20 ++++--- 4 files changed, 62 insertions(+), 56 deletions(-) diff --git a/components/celestials/CelestialsList.vue b/components/celestials/CelestialsList.vue index 01726c5..91ee501 100644 --- a/components/celestials/CelestialsList.vue +++ b/components/celestials/CelestialsList.vue @@ -1,7 +1,7 @@ @@ -49,7 +51,7 @@ export default { data () { return { - celestial: {} + celestial: false } }, diff --git a/pages/astres/index.vue b/pages/astres/index.vue index fc66741..09518d6 100644 --- a/pages/astres/index.vue +++ b/pages/astres/index.vue @@ -1,13 +1,15 @@ diff --git a/pages/favoris/index.vue b/pages/favoris/index.vue index 47d0037..09f6b33 100644 --- a/pages/favoris/index.vue +++ b/pages/favoris/index.vue @@ -1,13 +1,15 @@ @@ -22,7 +24,7 @@ export default { }, created () { - // const favourites = this.$store.state.user.favourites + console.log(this.$store.state.user.favourites) } }