We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf7066 commit d45cf49Copy full SHA for d45cf49
app/Livewire/Company/Service/CategoryManager.php
@@ -35,7 +35,8 @@ public function mount()
35
public function loadCategories()
36
{
37
$this->authorize('viewAny', ServiceCategory::class);
38
- $this->categories = ServiceCategory::where('business_id', Auth::user()->current_business_id)->get();
+ $this->categories = ServiceCategory::where('business_id', Auth::user()->current_business_id)->get()
39
+ ->sortBy('name');
40
}
41
42
public function openCreateModal()
0 commit comments