fix env deletion and sorting of locked envs

This commit is contained in:
ayntk-ai committed 2024-08-12 14:44:18 +02:00
1 parent 1d7c833b7c
commit 122491808c
2 files changed
+17 -14

No files matched your search

@@ -129,9 +129,10 @@ class Show extends Component
{
try {
$this->env->delete();
$this->dispatch('refreshEnvs');
$this->dispatch('environmentVariableDeleted');
$this->dispatch('success', 'Environment variable deleted successfully.');
} catch (\Exception $e) {
return handleError($e);
}
}
}
}