From 77afbe7c23d9ebbc8f2a404a2a66dfbed4956604 Mon Sep 17 00:00:00 2001 From: Charles Bushong Date: Mon, 18 May 2020 12:40:24 -0400 Subject: Add enableCustomHTML as hidden field on admin panel to avoid feature-flag being removed on admin panel save --- static/admin/config.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'static/admin') diff --git a/static/admin/config.yml b/static/admin/config.yml index 98a6059..90a7fa6 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -249,6 +249,10 @@ collections: name: 'preserveTaxonomyNames' widget: 'hidden' default: 'true' + - label: 'enableCustomHTML' + name: 'enableCustomHTML' + widget: 'hidden' + default: 'false' - label: "taxonomies" name: taxonomies widget: "hidden" -- cgit v1.2.3-70-g09d2 From 87e0056f797386700144953f0a4fd721d42f30cc Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas <11616378+mistermantas@users.noreply.github.com> Date: Mon, 18 May 2020 21:25:26 +0300 Subject: Make a boolean --- static/admin/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'static/admin') diff --git a/static/admin/config.yml b/static/admin/config.yml index 90a7fa6..2ab0db9 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -240,6 +240,11 @@ collections: name: 'googleAnalytics' widget: 'string' default: 'UA-00000000-1' + # Enable Custom HTML + - label: 'Enable custom HTML' + name: 'enableCustomHTML' + widget: 'boolean' + default: 'false' # REQUIRED BUT HIDDEN - label: 'theme' name: 'theme' @@ -249,10 +254,6 @@ collections: name: 'preserveTaxonomyNames' widget: 'hidden' default: 'true' - - label: 'enableCustomHTML' - name: 'enableCustomHTML' - widget: 'hidden' - default: 'false' - label: "taxonomies" name: taxonomies widget: "hidden" -- cgit v1.2.3-70-g09d2