Compare commits
No commits in common. "058b4ac4b92ffa1adf9c96d9eb2115732e9a1ffe" and "5fe486b93cf4658de7668b7a1fc5cca27681761a" have entirely different histories.
058b4ac4b9
...
5fe486b93c
@ -70,8 +70,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
|||||||
|
|
||||||
public function systems()
|
public function systems()
|
||||||
{
|
{
|
||||||
return $this->belongsToMany(System::class)
|
return $this->belongsToMany(System::class);
|
||||||
->orderBy('name');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* GENERAL METHODS */
|
/* GENERAL METHODS */
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
@use(App\Models\Domain)
|
|
||||||
|
|
||||||
<div id="sidebar-scroller">
|
<div id="sidebar-scroller">
|
||||||
FTN Networks
|
FTN Networks
|
||||||
|
|
||||||
@ -14,7 +12,7 @@
|
|||||||
@endif
|
@endif
|
||||||
@endauth
|
@endauth
|
||||||
|
|
||||||
@if(($x=Domain::select(['id','name'])
|
@if(($x=\App\Models\Domain::select(['id','name'])
|
||||||
->when(((! $user) || (! $user->isAdmin())),fn($query)=>$query->public()->active())
|
->when(((! $user) || (! $user->isAdmin())),fn($query)=>$query->public()->active())
|
||||||
->orderBy('name')
|
->orderBy('name')
|
||||||
->get())
|
->get())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user