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

No files matched your search

@@ -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);
}
}
}
}