File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 22 <div class =" chat-list" :style =" {background: colors.chatList.bg}" >
33 <table >
44 <tbody >
5- <tr v-for =" chat in chatList" :key =" chat.id" @click =" openChat(chat.id)" >
5+ <tr class = " chat-list-row " v-for =" chat in chatList" :key =" chat.id" @click =" openChat(chat.id)" >
66 <td class =" chat-img-td" >
77 <img :src =" chat.imageUrl" class =" chat-img" />
88 </td >
@@ -53,6 +53,9 @@ export default {
5353 padding-right : 8px ;
5454 padding-top : 8px ;
5555}
56+ .chat-list-row {
57+ cursor : pointer ;
58+ }
5659.chat-img-td {
5760 box-sizing : border-box ;
5861 text-align : center ;
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ export default {
193193 }
194194 },
195195 watch: {
196- multipleChatsEnabled : function (newMultipleChatsEnabled ) {
196+ multipleChatsEnabled (newMultipleChatsEnabled ) {
197197 this .state = this .initialState ()
198198 }
199199 },
Original file line number Diff line number Diff line change @@ -153,31 +153,31 @@ export default {
153153 },
154154 title: {
155155 type: String ,
156- default : () => ' '
156+ default: ' '
157157 },
158158 titleImageUrl: {
159159 type: String ,
160- default : () => ' '
160+ default: ' '
161161 },
162162 onMessageWasSent: {
163163 type: Function ,
164164 required: true
165165 },
166166 messageList: {
167167 type: Array ,
168- default : () => []
168+ default: []
169169 },
170170 newMessagesCount: {
171171 type: Number ,
172- default : () => 0
172+ default: 0
173173 },
174174 placeholder: {
175175 type: String ,
176176 default: ' Write a message...'
177177 },
178178 showTypingIndicator: {
179179 type: String ,
180- default : () => ' '
180+ default: ' '
181181 },
182182 colors: {
183183 type: Object ,
@@ -227,11 +227,11 @@ export default {
227227 },
228228 alwaysScrollToBottom: {
229229 type: Boolean ,
230- default : () => false
230+ default: false
231231 },
232232 messageStyling: {
233233 type: Boolean ,
234- default : () => false
234+ default: false
235235 },
236236 disableUserListToggle: {
237237 type: Boolean ,
@@ -247,11 +247,11 @@ export default {
247247 },
248248 chatListTitle: {
249249 type: String ,
250- default : () => ' '
250+ default: ' '
251251 },
252252 chatListImageUrl: {
253253 type: String ,
254- default : () => ' '
254+ default: ' '
255255 },
256256 myId: {
257257 type: String ,
You can’t perform that action at this time.
0 commit comments