We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ddf6e7 commit 2f8cfc0Copy full SHA for 2f8cfc0
src/plugins/muc-views/templates/muc-sidebar.js
@@ -50,7 +50,7 @@ export default (el, o) => {
50
const is_filter_visible = el.model.get('filter_visible');
51
52
const btns = /** @type {TemplateResult[]} */ [];
53
- if (el.model.occupants < 6) {
+ if (el.model.occupants?.length < 6) {
54
// We don't show the filter
55
btns.push(
56
html` <i class="hide-occupants" @click=${(/** @type {MouseEvent} */ev) => el.closeSidebar(ev)}>
0 commit comments