fix hugo config fields, give back access to Felix
All checks were successful
website-main / prod-build (push) Successful in 1m54s
website-main / test-build (push) Successful in 1m53s
website-main / auto-rebuild (push) Has been skipped

This commit is contained in:
Denys Konovalov 2023-05-29 16:37:32 +02:00
parent 8a5b26f72c
commit 07407f7ac1
2 changed files with 8 additions and 3 deletions

@ -650,7 +650,12 @@ const SettingsCollection = {
widget: "list",
collapsed: true,
fields: [
Title(false),
{
name: "name",
label: "Bezeichnung",
widget: "string",
required: true
},
{
name: "weight",
label: "Positionierung",
@ -673,7 +678,7 @@ const SettingsCollection = {
label: "Übergeordneter Eintrag",
hint: "Falls ausgewählt, wird dieser Eintrag im Untermenü erscheinen",
widget: "relation",
collection: "config",
collection: "settings",
file: "hugo-config",
value_field: "menu.main.*.name",
search_fields: ["menu.main.*.name"],

@ -184,7 +184,7 @@
name: "login",
handler: ({ login }) => {
const adminUsers = [
"fberger",
"TramusOO",
"denyskon",
"gfelke",
"lberthold",