fix
This commit is contained in:
parent
97231bb477
commit
3b8fb073f4
@ -55,7 +55,7 @@ public function mount()
|
||||
}
|
||||
$this->parameters = getRouteParameters();
|
||||
$this->query = request()->query();
|
||||
$this->private_keys = PrivateKey::where('team_id', session('currentTeam')->id)->get();
|
||||
$this->private_keys = PrivateKey::where('team_id', session('currentTeam')->id)->where('id', '!=', 0)->get();
|
||||
}
|
||||
public function instantSave()
|
||||
{
|
||||
|
@ -74,7 +74,7 @@
|
||||
]))->name('server.proxy');
|
||||
Route::get('/server/{server_uuid}/private-key', fn () => view('server.private-key', [
|
||||
'server' => Server::ownedByCurrentTeam()->whereUuid(request()->server_uuid)->firstOrFail(),
|
||||
'privateKeys' => PrivateKey::ownedByCurrentTeam()->get(),
|
||||
'privateKeys' => PrivateKey::ownedByCurrentTeam()->where('id', '!=', 0)->get(),
|
||||
]))->name('server.private-key');
|
||||
Route::get('/server/{server_uuid}/destinations', fn () => view('server.destinations', [
|
||||
'server' => Server::ownedByCurrentTeam(['name'])->whereUuid(request()->server_uuid)->firstOrFail()
|
||||
|
Loading…
Reference in New Issue
Block a user