fix: add navbar for source + keys

This commit is contained in:
Andras Bacsai
2023-09-04 09:44:44 +02:00
parent 517cb77637
commit 3e3024d47e
15 changed files with 72 additions and 30 deletions

View File

@@ -27,7 +27,7 @@ class Change extends Component
if ($this->private_key->isEmpty()) {
$this->private_key->delete();
currentTeam()->privateKeys = PrivateKey::where('team_id', currentTeam()->id)->get();
return redirect()->route('private-key.all');
return redirect()->route('security.private-key.index');
}
$this->emit('error', 'This private key is in use and cannot be deleted. Please delete all servers, applications, and GitHub/GitLab apps that use this private key before deleting it.');
} catch (\Exception $e) {