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 @@ -210,7 +210,7 @@ export default {
210210 }
211211 },
212212 watch: {
213- multipleChatsEnabled : function (newMultipleChatsEnabled ) {
213+ multipleChatsEnabled (newMultipleChatsEnabled ) {
214214 this .state = this .initialState ()
215215 }
216216 },
Original file line number Diff line number Diff line change @@ -155,31 +155,31 @@ export default {
155155 },
156156 title: {
157157 type: String ,
158- default : () => ' '
158+ default: ' '
159159 },
160160 titleImageUrl: {
161161 type: String ,
162- default : () => ' '
162+ default: ' '
163163 },
164164 onMessageWasSent: {
165165 type: Function ,
166166 required: true
167167 },
168168 messageList: {
169169 type: Array ,
170- default : () => []
170+ default: []
171171 },
172172 newMessagesCount: {
173173 type: Number ,
174- default : () => 0
174+ default: 0
175175 },
176176 placeholder: {
177177 type: String ,
178178 default: ' Write a message...'
179179 },
180180 showTypingIndicator: {
181181 type: String ,
182- default : () => ' '
182+ default: ' '
183183 },
184184 colors: {
185185 type: Object ,
@@ -229,11 +229,11 @@ export default {
229229 },
230230 alwaysScrollToBottom: {
231231 type: Boolean ,
232- default : () => false
232+ default: false
233233 },
234234 messageStyling: {
235235 type: Boolean ,
236- default : () => false
236+ default: false
237237 },
238238 disableUserListToggle: {
239239 type: Boolean ,
@@ -249,11 +249,11 @@ export default {
249249 },
250250 chatListTitle: {
251251 type: String ,
252- default : () => ' '
252+ default: ' '
253253 },
254254 chatListImageUrl: {
255255 type: String ,
256- default : () => ' '
256+ default: ' '
257257 },
258258 myId: {
259259 type: String ,
You can’t perform that action at this time.
0 commit comments