ソースを参照

:recycle: Small refactor to address rendering issues

tabs-content
tomit4 3年前
コミット
c9c77a0b1d
1個のファイルの変更1行の追加2行の削除
  1. 1
    2
      frontend/src/views/HomeView.vue

+ 1
- 2
frontend/src/views/HomeView.vue ファイルの表示

@@ -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 =>

読み込み中…
キャンセル
保存