diff --git a/bundle/src/main/webapp/app-root/clientlibs/io.wcm.caconfig.editor/js/editor/editor.module.js b/bundle/src/main/webapp/app-root/clientlibs/io.wcm.caconfig.editor/js/editor/editor.module.js
index 2fb326f..d81c6ba 100644
--- a/bundle/src/main/webapp/app-root/clientlibs/io.wcm.caconfig.editor/js/editor/editor.module.js
+++ b/bundle/src/main/webapp/app-root/clientlibs/io.wcm.caconfig.editor/js/editor/editor.module.js
@@ -60,7 +60,7 @@
const currentController = current?.$$route?.controller;
const currentConfigName = current?.pathParams?.configName;
const nextController = next?.$$route?.controller;
- const nextConfigName = current?.pathParams?.configName;
+ const nextConfigName = next?.pathParams?.configName;
return currentController !== undefined && currentController === nextController && currentConfigName === nextConfigName;
}
diff --git a/changes.xml b/changes.xml
index 24533a0..85b08af 100644
--- a/changes.xml
+++ b/changes.xml
@@ -27,6 +27,9 @@
Textarea widget: Apply custom number of rows also in readonly/disabled state.
+
+ Fix non-working edit button for nested configurations (Regression from version 1.16.2).
+