fix(Communities): only allow community admins to drag'n'drop chat items

This commit is contained in:
Pascal Precht 2021-08-26 11:12:13 +02:00 committed by Iuri Matias
parent c5474d42fa
commit ee69b4264c
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ Item {
return implicitHeight
}
draggableItems: true
draggableItems: chatsModel.communities.activeCommunity.admin
chatList.model: chatsModel.communities.activeCommunity.chats
categoryList.model: chatsModel.communities.activeCommunity.categories