fix(StatusChatList): unexisting property name for chat item fixed

`StatusChatList` component is able to display:
- chats for Chat section
- channels for Community section
- channels from a category from Community section

in cases 1. and 2. displayed items do not have `parentItemId` property and
it's not used in these cases.
This commit fixes that console error.
This commit is contained in:
Sale Djenic 2021-12-09 13:06:48 +01:00 committed by saledjenic
parent e0f34a3e1d
commit c2e075178c
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ Column {
opacity: dragSensor.active ? 0.0 : 1.0
originalOrder: model.position
chatId: model.itemId
categoryId: model.parentItemId
categoryId: model.parentItemId? model.parentItemId : ""
name: model.name
type: !!model.type ? model.type : StatusChatListItem.Type.CommunityChat
muted: model.muted