You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/ChatWidgetOld.vue
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -54,10 +54,10 @@
54
54
setup() {
55
55
/**
56
56
* Pinia stores only work properly in the vue composition API, hence the setup() call here, which allows us to use the vue composition API within the vue options API
57
-
* See https://vueschool.io/articles/vuejs-tutorials/options-api-vs-composition-api/
57
+
* See https://vueschool.io/articles/vuejs-tutorials/options-api-vs-composition-api/
58
58
* and https://vuejs.org/api/composition-api-setup.html
59
-
* */
60
-
59
+
* */
60
+
61
61
// We use a pinia store to store the chat messages, and status data like if there is a message stream currently happening or an error state.
62
62
constchatStore=useChatStore();
63
63
@@ -139,17 +139,17 @@
139
139
type:'error'
140
140
});
141
141
}
142
-
142
+
143
143
} catch (error) {
144
144
console.log('Error getting consent for opey from OBP: ', error)
145
145
this.errorState=true
146
146
ElMessage({
147
147
message:'Error getting consent for opey from OBP',
148
148
type:'error'
149
149
});
150
-
150
+
151
151
}
152
-
152
+
153
153
},
154
154
asyncanswerConsentChallenge() {
155
155
constchallengeAnswer=this.consentChallengeAnswer
@@ -160,7 +160,7 @@
160
160
161
161
try {
162
162
console.log(`Answering consent challenge with: ${challengeAnswer} and consent_id: ${this.consentId}`)
0 commit comments