From 981370ab945caecccd9e9daa3faf79046ac600d8 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 15 Oct 2022 18:07:24 +0000 Subject: [PATCH] Update config.yml --- static/admin/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 42b4e48e..45d94160 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -225,8 +225,8 @@ collections: fields: - {label: "Titel", name: "name", widget: "string"} - {label: "Position", name: "weight", widget: "number"} - - {label: "Untermenüs", name: "hasChildren", widget: "boolean"} - - {label: "Link", name: "URL", widget: "string"} + - {label: "Untermenüs", name: "hasChildren", widget: "boolean", required: false} + - {label: "Link", name: "URL", widget: "string", required: false} - {label: "Untermenü von", name: "parent", widget: "relation", collection: "config", file: "hugo-config", search_fields: ['menu.main.*.name'], display_fields: ['menu.main.*.name'], value_field: "menu.main.*.name", required: false} - label: "unteres Menü" name: "footer"