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:
787787| ` custom-action-icon ` | Add a custom icon inside the footer |
788788| ` rooms-header ` | Add a template on top of rooms list (above the search bar) |
789789| ` 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 |
790791| ` room-list-avatar_{{ROOM_ID}} ` | Replace the avatar of room list items |
791792| ` room-list-options_{{ROOM_ID}} ` | Replace the template of the list room options |
792793| ` room-list-options-icon_{{ROOM_ID}} ` | Replace the room list options dropdown icon |
Original file line number Diff line number Diff line change 1515 class =" vac-state-circle"
1616 :class =" { 'vac-state-online': userStatus === 'online' }"
1717 />
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 >
2123 <div v-if =" room.lastMessage" class =" vac-text-date" >
2224 {{ room.lastMessage.timestamp }}
2325 </div >
You can’t perform that action at this time.
0 commit comments