diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index abc7f5de2..ce4d869ee 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -22,7 +22,13 @@ :responsive-breakpoint="responsiveBreakpoint" :single-room="singleRoom" @show-demo-options="showDemoOptions = $event" - /> + > +
+
+ +
+
+ @@ -47,7 +53,12 @@ export default { data() { return { menuActions: [ - /* { + // NOTE: if menuActions is empty, the related slot is not shown + { + name: 'dummyItem', + title: 'Just a dummy item', + } + /*{ name: 'inviteUser', title: 'Invite User', }, diff --git a/webapp/layouts/default.vue b/webapp/layouts/default.vue index 8b6b80604..39a84bf14 100644 --- a/webapp/layouts/default.vue +++ b/webapp/layouts/default.vue @@ -15,12 +15,9 @@
- RoomID: {{ $store.getters['chat/showChat'].roomID }} - - x - + RoomID: {{ $store.getters['chat/showChat'].roomID }} - +
> @@ -41,6 +38,11 @@ export default { ChatModule, }, mixins: [seo, mobile()], + methods: { + closeSingleRoom(){ + this.$store.commit('chat/SET_OPEN_CHAT', { showChat: false, roomID: 'u0' }); + } + } }