ソースを参照

:pencil2: Removed old console.log and testing button

tags/0.0.4
tomit4 2年前
コミット
7536b32415
2個のファイルの変更0行の追加12行の削除
  1. 0
    10
      frontend/src/views/ChatView.vue
  2. 0
    2
      frontend/src/views/OnboardingView.vue

+ 0
- 10
frontend/src/views/ChatView.vue ファイルの表示

@@ -18,8 +18,6 @@ main.view--chat
18 18
             .w-flex.row
19 19
                 button(@click='reveal(7)') reveal my name
20 20
                 button(@click='reveal(8)') reveal my email
21
-                // TODO: Remove later, only for testing
22
-                button(@click='checkData()') check data
23 21
             span(v-if='grouping.revealed[profile.id.value]')
24 22
                 p you revealed:
25 23
                 ul(
@@ -101,7 +99,6 @@ export default {
101 99
         this.grouping = this.getGrouping()
102 100
         this.them = this.grouping.profile
103 101
         this.messages = await currentProfile.chatter.getHistory(this.grouping.grouping_name)
104
-        console.log('this.messages :>> ', this.messages)
105 102
         currentProfile.chatter.setOnMessage(this._onMessage)
106 103
         currentProfile._loading.value = false
107 104
     },
@@ -110,13 +107,6 @@ export default {
110 107
             const grouping = this.getGrouping()
111 108
             await grouping.reveal(currentProfile.id.value, tagId)
112 109
          },
113
-        // TODO: remove, only for testing reveal()
114
-        async checkData() {
115
-            console.log('currentProfile :=>', currentProfile)
116
-            // TODO: remove once Vue Router guards allow to redirect via url
117
-            console.log('currentProfile.isComplete :=>', currentProfile.isComplete) // false
118
-            console.log('currentProfile.isLoggedIn :=>', currentProfile.isLoggedIn) // true
119
-        },
120 110
         /**
121 111
          * Pubnub message callback fires when message event
122 112
          * is detected. We define is HERE because we need the

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

@@ -58,7 +58,6 @@ export default {
58 58
     }),
59 59
     async created() {
60 60
         // TODO: Troubleshoot bug where not all responses are returned at SurveyCompleteView
61
-        console.log('currentProfile :=>', currentProfile)
62 61
         this.survey = await surveyFactory.createSurvey()
63 62
         try {
64 63
             const sessionData = await authenticator.verifySessionCookie(
@@ -92,7 +91,6 @@ export default {
92 91
             })
93 92
         },
94 93
         async updateAnswers(payload) {
95
-            console.log('this.survey.steps :=>', this.survey.steps)
96 94
             if (payload) {
97 95
                 const k = payload.question.survey_stage
98 96
                 this.answered[k] = payload.input

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