Fix: Environment variables are not saving and sorting is not working properly in some cases
This commit is contained in:
Andras Bacsai
2024-08-14 21:13:23 +02:00
committed by GitHub
4 changed files with 242 additions and 203 deletions

View File

@@ -130,9 +130,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);
}
}
}
}