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
This commit is contained in:
Lukáš Tinkl 2024-09-20 19:56:22 +02:00 committed by Lukáš Tinkl
parent 9abc01426f
commit 4206617d9e
1 changed files with 2 additions and 0 deletions

View File

@ -285,6 +285,8 @@ Item {
} }
] ]
readonly property string title: model.preferredDisplayName
width: membersList.width width: membersList.width
visible: memberSearch.text === "" || title.toLowerCase().includes(memberSearch.text.toLowerCase()) visible: memberSearch.text === "" || title.toLowerCase().includes(memberSearch.text.toLowerCase())
height: visible ? implicitHeight : 0 height: visible ? implicitHeight : 0