Skip to content

Commit

Permalink
fix(MembersTabPanel): unbreak context menu
Browse files Browse the repository at this point in the history
- restore backwards compatibility; a lot of the actions in the component
relies on the old StatusListItem's `title` property to work correctly
- fixes the missing image and name in the profile context menu, among
others

Fixes #16367
  • Loading branch information
caybro authored and iurimatias committed Sep 24, 2024
1 parent 22d0da1 commit 3927c1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/app/AppLayouts/Communities/panels/MembersTabPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ Item {
}
]

readonly property string title: model.preferredDisplayName

width: membersList.width
visible: memberSearch.text === "" || title.toLowerCase().includes(memberSearch.text.toLowerCase())
height: visible ? implicitHeight : 0
Expand Down

0 comments on commit 3927c1e

Please sign in to comment.