Merge pull request #2067 from Dokploy/fix/envs-not-reset

fix: simplify useEffect condition in ShowEnvironment component
This commit is contained in:
Mauricio Siu
2025-06-22 16:32:54 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ export const ShowEnvironment = ({ applicationId }: Props) => {
currentBuildArgs !== (data?.buildArgs || "");
useEffect(() => {
if (data && !hasChanges) {
if (data) {
form.reset({
env: data.env || "",
buildArgs: data.buildArgs || "",

View File

@@ -1,6 +1,6 @@
{
"name": "dokploy",
"version": "v0.23.1",
"version": "v0.23.2",
"private": true,
"license": "Apache-2.0",
"type": "module",