This commit is contained in:
10G Meow 2023-06-25 17:24:06 +03:00
parent 5962c8aedc
commit 43ada38268

View file

@ -1,50 +0,0 @@
<template>
<BottomSheet
class="room-info-bottom-sheet"
:halfY="0.12"
ref="sheet"
:showCloseButton="false"
>
<div class="room-info-sheet" ref="roomInfoSheetContent">
<room-list v-on:close="close" v-on:newroom="createRoom" :showCreate="true" />
</div>
</BottomSheet>
</template>
<script>
import BottomSheet from "./BottomSheet";
import RoomList from "./RoomList";
import roomInfoMixin from "./roomInfoMixin";
export default {
name: "RoomInfoBottomSheet",
mixins: [roomInfoMixin],
components: {
BottomSheet,
RoomList,
},
methods: {
open() {
this.$refs.sheet.open();
},
close() {
this.$refs.sheet.close();
},
showDetails() {
this.close();
this.$navigation.push({ name: "RoomInfo" });
},
createRoom() {
this.close();
this.$navigation.push({ name: "CreateRoom" });
}
}
};
</script>
<style lang="scss">
@import "@/assets/css/chat.scss";
</style>