Parcourir la source

:recycle: Small refactor to address rendering issues

tabs-content
tomit4 il y a 3 ans
Parent
révision
c9c77a0b1d
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1
    2
      frontend/src/views/HomeView.vue

+ 1
- 2
frontend/src/views/HomeView.vue Voir le fichier

@@ -1,6 +1,5 @@
1 1
 <template lang="pug">
2 2
 main.view--home
3
-    p {{ cP._profile.user_name }}
4 3
     article.w-flex.sm-column.md-row.align-center
5 4
         template(v-if='isLoading')
6 5
             w-spinner(bounce)
@@ -69,7 +68,7 @@ export default {
69 68
     },
70 69
     computed: {
71 70
         cP() {
72
-            return currentProfile
71
+            return currentProfile ? currentProfile : null
73 72
         },
74 73
         cards() {
75 74
             let initialCards = currentProfile.queue.map(qProfile =>

Chargement…
Annuler
Enregistrer