made featImg and image gallery not required in admin

This commit is contained in:
suroh 2023-11-16 16:05:27 +01:00
parent b3e33f24ea
commit d4b894a602
1 changed files with 6 additions and 6 deletions

View File

@ -21,8 +21,8 @@ collections:
- {label: "Title", name: "title", widget: "string"} - {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"} - {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Published", name: "published", widget: "boolean"} - {label: "Published", name: "published", widget: "boolean"}
- {label: "Featured Image", name: "imgFeat", widget: "image"} - {label: "Featured Image", name: "imgFeat", widget: "image", required: false}
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } } - {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } }, required: false }
- {label: "Body", name: "body", widget: "markdown"} - {label: "Body", name: "body", widget: "markdown"}
- {label: "Order", name: "sort", widget: "number"} - {label: "Order", name: "sort", widget: "number"}
- label: "Dev" - label: "Dev"
@ -33,8 +33,8 @@ collections:
- {label: "Title", name: "title", widget: "string"} - {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"} - {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Published", name: "published", widget: "boolean"} - {label: "Published", name: "published", widget: "boolean"}
- {label: "Featured Image", name: "imgFeat", widget: "image"} - {label: "Featured Image", name: "imgFeat", widget: "image", required: false}
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } } - {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } }, required: false }
- {label: "Body", name: "body", widget: "markdown"} - {label: "Body", name: "body", widget: "markdown"}
- {label: "Order", name: "sort", widget: "number"} - {label: "Order", name: "sort", widget: "number"}
- label: "Work" - label: "Work"
@ -45,7 +45,7 @@ collections:
- {label: "Title", name: "title", widget: "string"} - {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"} - {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Published", name: "published", widget: "boolean"} - {label: "Published", name: "published", widget: "boolean"}
- {label: "Featured Image", name: "imgFeat", widget: "image"} - {label: "Featured Image", name: "imgFeat", widget: "image", required: false}
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } } - {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } }, required: false }
- {label: "Body", name: "body", widget: "markdown"} - {label: "Body", name: "body", widget: "markdown"}
- {label: "Order", name: "sort", widget: "number"} - {label: "Order", name: "sort", widget: "number"}