fix hugo config fields, give back access to Felix

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

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