File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 4
4
<v-list two-line subheader >
5
5
<v-subheader >Messages</v-subheader >
6
6
<v-list-tile v-for =" (thread, index) in Threads" :key =" index" >
7
+ <v-list-tile-avatar color =" grey lighten-4" >
8
+ <img :src =" thread.photoURL" alt =" avatar" >
9
+ </v-list-tile-avatar >
7
10
<v-list-tile-content >
8
- <v-list-tile-title >{{thread.message}} - < i >{{thread.username}}</ i > </v-list-tile-title >
11
+ <v-list-tile-title >{{thread.message}} </v-list-tile-title >
9
12
</v-list-tile-content >
10
13
<v-list-tile-action >
11
14
<v-icon color =" black" @click =" remove(thread['.key'])" >delete</v-icon >
@@ -31,10 +34,6 @@ import Thread from '@/models/Thread'
31
34
import General from ' @/mixin/room'
32
35
33
36
export default {
34
- created () {
35
- this .Thread .uid = this .$auth .user ().uid
36
- this .Thread .username = this .$auth .user ().displayName
37
- },
38
37
mixins: [General],
39
38
data () {
40
39
return {
You can’t perform that action at this time.
0 commit comments