Update ui/app/AppLayouts/Chat/CommunityComponents/CreateCategoryPopup.qml

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
RichΛrd 2021-05-18 14:25:08 -04:00 committed by Iuri Matias
parent f7a3be7c04
commit 764f041158
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ ModalPopup {
channelId: model.id
categoryId: model.categoryId
checked: popup.isEdit ? channels.indexOf(model.id) > - 1 : false
visible: popup.isEdit ? model.categoryId == popup.categoryId || model.categoryId == "" : model.categoryId == ""
visible: popup.isEdit ? model.categoryId === popup.categoryId || model.categoryId === "" : model.categoryId === ""
onItemChecked: function(channelId, itemChecked){
var idx = channels.indexOf(channelId)
if(itemChecked){