diff --git a/app/Presenters/ComponentGroupPresenter.php b/app/Presenters/ComponentGroupPresenter.php index 8cfb857520ab..597563940bde 100644 --- a/app/Presenters/ComponentGroupPresenter.php +++ b/app/Presenters/ComponentGroupPresenter.php @@ -81,7 +81,7 @@ public function is_collapsed() return $this->wrappedObject->components->filter(function ($component) { return $component->status > 1; - })->count() === 0; + })->isEmpty(); } /**