diff --git a/js/BoxMenuGroupView.js b/js/BoxMenuGroupView.js index 638b4a0..f483fb9 100644 --- a/js/BoxMenuGroupView.js +++ b/js/BoxMenuGroupView.js @@ -16,7 +16,8 @@ class BoxMenuGroupView extends MenuItemView { updateItemCount() { const models = this.model.getChildren().where({ - _isHidden: false + _isHidden: false, + _isAvailable: true }); const totalChildren = models.length; models.forEach(model => model.set('_totalChild', totalChildren));