mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 11:08:55 +00:00
fix(Communities): ensure memberlist modal doesn't throw type related warnings
This commit is contained in:
parent
ee69b4264c
commit
4d5716c8c2
@ -37,7 +37,7 @@ Item {
|
|||||||
StatusListItem {
|
StatusListItem {
|
||||||
id: inviteButton
|
id: inviteButton
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
visible: root.community.admin || root.community.isAdmin
|
visible: !!(root.community.admin || root.community.isAdmin)
|
||||||
//% "Invite People"
|
//% "Invite People"
|
||||||
title: qsTrId("invite-people")
|
title: qsTrId("invite-people")
|
||||||
icon.name: "share-ios"
|
icon.name: "share-ios"
|
||||||
@ -124,7 +124,7 @@ Item {
|
|||||||
id: memberItem
|
id: memberItem
|
||||||
|
|
||||||
property string nickname: appMain.getUserNickname(model.pubKey)
|
property string nickname: appMain.getUserNickname(model.pubKey)
|
||||||
property string profileImage: appMain.getProfileImage(model.pubKey)
|
property string profileImage: appMain.getProfileImage(model.pubKey) || ""
|
||||||
|
|
||||||
visible: !!!memberSearch.input.text ||
|
visible: !!!memberSearch.input.text ||
|
||||||
model.userName.toLowerCase().includes(memberSearch.input.text.toLowerCase()) ||
|
model.userName.toLowerCase().includes(memberSearch.input.text.toLowerCase()) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user