This commit is contained in:
Denys Konovalov 2023-04-20 07:51:28 +02:00
parent da16b94002
commit e7168dd281

View File

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