From 3927c1ee504cc2122bfb5ae9c92c60579b169dc5 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 c1a5f82a10e..82d8cea28d1 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