Skip to content

Commit

Permalink
Fix error while updating the home page by admin
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michalsmiarowski committed Dec 22, 2023
1 parent d0006cf commit 2525ed2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,6 @@ collections:
},
],
},
{
label: Posthog Label,
name: posthogLabel,
widget: string,
},
],
}
- label: "Token Holder Role"
Expand Down

0 comments on commit 2525ed2

Please sign in to comment.