From 8e0db42cde92d1621008448dd37511867893f06a Mon Sep 17 00:00:00 2001 From: Andrei Smirnov Date: Fri, 20 Aug 2021 08:22:24 +0300 Subject: [PATCH] Fixed bug --- .../AppLayouts/Chat/CommunityComponents/CommunityUserList.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityUserList.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityUserList.qml index 7cf7f94970..b98b1a52d9 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityUserList.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityUserList.qml @@ -83,8 +83,6 @@ Item { model: userListDelegate section.property: "online" section.delegate: Item { - id: sectionItem - property bool online: !!section width: parent.width height: 24 @@ -93,7 +91,7 @@ Item { anchors.leftMargin: Style.current.padding font.pixelSize: Style.current.additionalTextSize color: Style.current.darkGrey - text: sectionItem.online ? qsTr("Online") : qsTr("Offline") + text: section === 'true' ? qsTr("Online") : qsTr("Offline") } } }