diff --git a/app/Models/User.php b/app/Models/User.php index 3009f0a..7dff43f 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -70,7 +70,8 @@ class User extends Authenticatable implements MustVerifyEmail public function systems() { - return $this->belongsToMany(System::class); + return $this->belongsToMany(System::class) + ->orderBy('name'); } /* GENERAL METHODS */ diff --git a/resources/views/layouts/partials/sidebar.blade.php b/resources/views/layouts/partials/sidebar.blade.php index da30d76..c8b4535 100644 --- a/resources/views/layouts/partials/sidebar.blade.php +++ b/resources/views/layouts/partials/sidebar.blade.php @@ -1,3 +1,5 @@ +@use(App\Models\Domain) +