File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/lib/RoomsList/RoomContent Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -787,6 +787,7 @@ Example:
787
787
| ` custom-action-icon ` | Add a custom icon inside the footer |
788
788
| ` rooms-header ` | Add a template on top of rooms list (above the search bar) |
789
789
| ` room-list-item_{{ROOM_ID}} ` | Replace the template of the room list items |
790
+ | ` room-list-info_{{ROOM_ID}} ` | Replace the info of room list items |
790
791
| ` room-list-avatar_{{ROOM_ID}} ` | Replace the avatar of room list items |
791
792
| ` room-list-options_{{ROOM_ID}} ` | Replace the template of the list room options |
792
793
| ` room-list-options-icon_{{ROOM_ID}} ` | Replace the room list options dropdown icon |
Original file line number Diff line number Diff line change 15
15
class =" vac-state-circle"
16
16
:class =" { 'vac-state-online': userStatus === 'online' }"
17
17
/>
18
- <div class =" vac-room-name vac-text-ellipsis" >
19
- {{ room.roomName }}
20
- </div >
18
+ <slot :name =" 'room-list-info_' + room.roomId" ></slot >
19
+ <div class =" vac-room-name vac-text-ellipsis" >
20
+ {{ room.roomName }}
21
+ </div >
22
+ </slot >
21
23
<div v-if =" room.lastMessage" class =" vac-text-date" >
22
24
{{ room.lastMessage.timestamp }}
23
25
</div >
You can’t perform that action at this time.
0 commit comments