Close room list on select
This commit is contained in:
parent
dd3efe0d61
commit
e7cd5db831
2 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@
|
|||
<v-list nav dense>
|
||||
<RoomList
|
||||
v-if="$matrix.ready"
|
||||
@close="openDrawer = false"
|
||||
/>
|
||||
</v-list>
|
||||
</v-navigation-drawer>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ export default {
|
|||
|
||||
watch: {
|
||||
currentRoomId() {
|
||||
this.$emit("close");
|
||||
this.$matrix.setCurrentRoomId(this.currentRoomId);
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue