Room info bottom sheet

Issue #89.
This commit is contained in:
N-Pex 2021-03-11 13:55:10 +01:00
parent 2b3f99c421
commit 6d97fd030d
9 changed files with 240 additions and 42 deletions

View file

@ -1,6 +1,6 @@
<template>
<v-list dense class="room-list">
<v-subheader>ROOMS</v-subheader>
<div class="h4">{{title}}</div>
<v-list-item-group v-model="currentRoomId" color="primary">
<v-list-item v-for="room in $matrix.rooms" :key="room.roomId" :value="room.roomId">
<v-list-item-avatar size="40" color="#e0e0e0">
@ -22,6 +22,13 @@ import util from "../plugins/utils";
export default {
name: "RoomList",
props: {
title: {
type: String,
default: "Rooms"
}
},
data: () => ({
currentRoomId: null,
}),