File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -190,12 +190,12 @@ export default {
190190 },
191191 data () {
192192 return {
193- state : this .initialState ()
193+ windowState : this .initialState ()
194194 }
195195 },
196196 watch: {
197197 multipleChatsEnabled (newMultipleChatsEnabled ) {
198- this .state = this .initialState ()
198+ this .windowState = this .initialState ()
199199 }
200200 },
201201 computed: {
@@ -205,25 +205,25 @@ export default {
205205 return messages
206206 },
207207 showingUserList () {
208- return this .state == uiState .USER_LIST
208+ return this .windowState == uiState .USER_LIST
209209 },
210210 showingChatList () {
211- return this .state == uiState .CHAT_LIST
211+ return this .windowState == uiState .CHAT_LIST
212212 },
213213 showingMessageList () {
214- return this .state == uiState .MESSAGE_LIST
214+ return this .windowState == uiState .MESSAGE_LIST
215215 },
216216 ... mapState ([' titleImageUrl' , ' disableUserListToggle' ])
217217 },
218218 methods: {
219219 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
221221 },
222222 handleShowChatList () {
223- this .state = uiState .CHAT_LIST
223+ this .windowState = uiState .CHAT_LIST
224224 },
225225 handleShowMessageList () {
226- this .state = uiState .MESSAGE_LIST
226+ this .windowState = uiState .MESSAGE_LIST
227227 },
228228 getSuggestions () {
229229 return this .messages .length > 0 ? this .messages [this .messages .length - 1 ].suggestions : []
You can’t perform that action at this time.
0 commit comments