mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 07:34:45 +02:00
Fix ServerList Filter badge count (#946)
This commit is contained in:
parent
37f9725f27
commit
654143addc
@ -58,7 +58,7 @@ class ListServers extends ListRecords
|
||||
->modifyQueryUsing(fn (Builder $query) => $query->where('owner_id', auth()->user()->id)),
|
||||
|
||||
'other' => Tab::make('Others\' Servers')
|
||||
->badge(fn () => $baseQuery->whereNot('owner_id', auth()->user()->id)->count())
|
||||
->badge(fn (Builder $query) => $query->whereNot('owner_id', auth()->user()->id)->count())
|
||||
->modifyQueryUsing(fn (Builder $query) => $query->whereNot('owner_id', auth()->user()->id)),
|
||||
|
||||
'all' => Tab::make('All Servers')
|
||||
|
Loading…
x
Reference in New Issue
Block a user