diff --git a/resources/views/partials/components.blade.php b/resources/views/partials/components.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/partials/components.blade.php
+++ b/resources/views/partials/components.blade.php
@@ -1,14 +1,14 @@
 <ul class="list-group components">
     @if($component_groups->count() > 0)
     @foreach($component_groups as $componentGroup)
-    @if($componentGroup->components->enabled()->count() > 0)
+    @if($componentGroup->components()->enabled()->count() > 0)
     <li class="list-group-item group-name">
         <i class="ion-ios-minus-outline group-toggle"></i>
         <strong>{{ $componentGroup->name }}</strong>
     </li>
 
     <div class="group-items">
-    @foreach($componentGroup->components->enabled()->sortBy('order') as $component)
+    @foreach($componentGroup->components()->enabled()->orderBy('order')->get() as $component)
     @include('partials.component', compact($component))
     @endforeach
     </div>
Call enabled scope on the builder, not the collection