From 84bb69b5b9ae4e8dc2212f9a896b40d2a3c48080 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 18 Apr 2023 16:19:19 -0400 Subject: [PATCH] Afform - Consistently save 'contact_summary' = null Fixes dev/core#4206 --- ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js index 4163a2acf4..17c2ef2960 100644 --- a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js +++ b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js @@ -330,7 +330,7 @@ this.toggleContactSummary = function() { if (editor.afform.contact_summary) { - editor.afform.contact_summary = false; + editor.afform.contact_summary = null; _.each(editor.searchDisplays, function(searchDisplay) { delete searchDisplay.element.filters; }); -- 2.25.1