File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -190,12 +190,12 @@ export default {
190
190
},
191
191
data () {
192
192
return {
193
- state : this .initialState ()
193
+ windowState : this .initialState ()
194
194
}
195
195
},
196
196
watch: {
197
197
multipleChatsEnabled (newMultipleChatsEnabled ) {
198
- this .state = this .initialState ()
198
+ this .windowState = this .initialState ()
199
199
}
200
200
},
201
201
computed: {
@@ -205,25 +205,25 @@ export default {
205
205
return messages
206
206
},
207
207
showingUserList () {
208
- return this .state == uiState .USER_LIST
208
+ return this .windowState == uiState .USER_LIST
209
209
},
210
210
showingChatList () {
211
- return this .state == uiState .CHAT_LIST
211
+ return this .windowState == uiState .CHAT_LIST
212
212
},
213
213
showingMessageList () {
214
- return this .state == uiState .MESSAGE_LIST
214
+ return this .windowState == uiState .MESSAGE_LIST
215
215
},
216
216
... mapState ([' titleImageUrl' , ' disableUserListToggle' ])
217
217
},
218
218
methods: {
219
219
handleToggleUserListMessageList () {
220
- this .state = (this .state == uiState .USER_LIST ) ? uiState .MESSAGE_LIST : uiState .USER_LIST
220
+ this .windowState = (this .windowState == uiState .USER_LIST ) ? uiState .MESSAGE_LIST : uiState .USER_LIST
221
221
},
222
222
handleShowChatList () {
223
- this .state = uiState .CHAT_LIST
223
+ this .windowState = uiState .CHAT_LIST
224
224
},
225
225
handleShowMessageList () {
226
- this .state = uiState .MESSAGE_LIST
226
+ this .windowState = uiState .MESSAGE_LIST
227
227
},
228
228
getSuggestions () {
229
229
return this .messages .length > 0 ? this .messages [this .messages .length - 1 ].suggestions : []
You can’t perform that action at this time.
0 commit comments