cleanup
This commit is contained in:
parent
5962c8aedc
commit
43ada38268
1 changed files with 0 additions and 50 deletions
|
|
@ -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>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue