From 8752249bf150ced67a514931ed5e8af6c4c5d623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Fri, 20 Sep 2024 19:56:22 +0200 Subject: [PATCH] fix(MembersTabPanel): unbreak context menu - 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 --- ui/app/AppLayouts/Communities/panels/MembersTabPanel.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/app/AppLayouts/Communities/panels/MembersTabPanel.qml b/ui/app/AppLayouts/Communities/panels/MembersTabPanel.qml index 07fd3be58dc..d12bc4bde1c 100644 --- a/ui/app/AppLayouts/Communities/panels/MembersTabPanel.qml +++ b/ui/app/AppLayouts/Communities/panels/MembersTabPanel.qml @@ -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