Skip to content

Commit

Permalink
(fix) rooms-list-opened not overriding default behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine92190 committed Sep 3, 2022
1 parent 5302e98 commit e87345f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/lib/ChatWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
:text-messages="t"
:show-search="showSearchCasted"
:show-add-room="showAddRoomCasted"
:show-rooms-list="showRoomsList"
:show-rooms-list="showRoomsList && roomsListOpenedCasted"
:text-formatting="textFormattingCasted"
:link-options="linkOptionsCasted"
:is-mobile="isMobile"
Expand Down Expand Up @@ -51,7 +51,7 @@
:show-footer="showFooterCasted"
:text-messages="t"
:single-room="singleRoomCasted"
:show-rooms-list="showRoomsList"
:show-rooms-list="showRoomsList && roomsListOpenedCasted"
:text-formatting="textFormattingCasted"
:link-options="linkOptionsCasted"
:is-mobile="isMobile"
Expand Down Expand Up @@ -432,8 +432,11 @@ export default {
})
},
roomsListOpenedCasted(val) {
this.showRoomsList = val
roomsListOpenedCasted: {
immediate: true,
handler(val) {
this.showRoomsList = val
}
}
},
Expand Down

0 comments on commit e87345f

Please sign in to comment.