Skip to content

Commit ae24aa8

Browse files
authored
Merge pull request Dokploy#2067 from Dokploy/fix/envs-not-reset
fix: simplify useEffect condition in ShowEnvironment component
2 parents f35d084 + b74d399 commit ae24aa8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/dokploy/components/dashboard/application/environment/show.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const ShowEnvironment = ({ applicationId }: Props) => {
4949
currentBuildArgs !== (data?.buildArgs || "");
5050

5151
useEffect(() => {
52-
if (data && !hasChanges) {
52+
if (data) {
5353
form.reset({
5454
env: data.env || "",
5555
buildArgs: data.buildArgs || "",

apps/dokploy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dokploy",
3-
"version": "v0.23.1",
3+
"version": "v0.23.2",
44
"private": true,
55
"license": "Apache-2.0",
66
"type": "module",

0 commit comments

Comments
 (0)