From 2525ed290dd076882b85a91ed1a1254e17266130 Mon Sep 17 00:00:00 2001 From: michalsmiarowski Date: Fri, 22 Dec 2023 16:22:58 +0100 Subject: [PATCH] Fix error while updating the home page by admin There is an error when we try to update the home page through admin panel: ``` Oops, you've missed a required field. Please complete before saving. ``` I happens, because the `posthogLabel` field was required for Liquidity Provider Role section and it is not set by default in `stc/content/pages/index.md` file. The posthog label for this button is not needed anyway so it was probably added there by mistake. --- static/admin/config.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 555c051..1636aaa 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -355,11 +355,6 @@ collections: }, ], }, - { - label: Posthog Label, - name: posthogLabel, - widget: string, - }, ], } - label: "Token Holder Role"