diff --git a/changes/issue-2457-app-settings-anchor-links b/changes/issue-2457-app-settings-anchor-links
new file mode 100644
index 0000000000..2304a705f1
--- /dev/null
+++ b/changes/issue-2457-app-settings-anchor-links
@@ -0,0 +1 @@
+* Fixes buggy App Settings anchor links to work on first click
\ No newline at end of file
diff --git a/frontend/components/forms/admin/AppConfigForm/AppConfigForm.jsx b/frontend/components/forms/admin/AppConfigForm/AppConfigForm.jsx
index 12cb66e181..e5f7597b60 100644
--- a/frontend/components/forms/admin/AppConfigForm/AppConfigForm.jsx
+++ b/frontend/components/forms/admin/AppConfigForm/AppConfigForm.jsx
@@ -126,16 +126,6 @@ class AppConfigForm extends Component {
};
}
- onToggleAdvancedOptions = (evt) => {
- evt.preventDefault();
-
- const { showAdvancedOptions } = this.state;
-
- this.setState({ showAdvancedOptions: !showAdvancedOptions });
-
- return false;
- };
-
toggleHostStatusWebhookPreviewModal = () => {
const { showHostStatusWebhookPreviewModal } = this.state;
this.setState({
@@ -713,7 +703,9 @@ class AppConfigForm extends Component {
-
Advanced options
+
{renderAdvancedOptions()}