This commit is contained in:
Denys Konovalov 2023-04-20 07:51:28 +02:00
parent 232bb3d678
commit 24c0e03aaa

@ -138,7 +138,7 @@
"cantorfora", "cantorfora",
"chronikseiten", "chronikseiten",
].forEach((collection) => ].forEach((collection) =>
CMS.registerPreviewTemplate(collection, "draft", DraftPreview) CMS.registerFieldPreview(collection, "draft", DraftPreview)
); );
["blog", "author", "chronikseiten", "pages", "cantorpreis", "begabte"].forEach( ["blog", "author", "chronikseiten", "pages", "cantorpreis", "begabte"].forEach(
(collection) => CMS.registerFieldPreview(collection, "body", BodyPreview) (collection) => CMS.registerFieldPreview(collection, "body", BodyPreview)