Close room list on select

This commit is contained in:
N-Pex 2020-11-19 17:11:11 +01:00
parent dd3efe0d61
commit e7cd5db831
2 changed files with 2 additions and 0 deletions

View file

@ -40,6 +40,7 @@
<v-list nav dense>
<RoomList
v-if="$matrix.ready"
@close="openDrawer = false"
/>
</v-list>
</v-navigation-drawer>

View file

@ -25,6 +25,7 @@ export default {
watch: {
currentRoomId() {
this.$emit("close");
this.$matrix.setCurrentRoomId(this.currentRoomId);
},
},