diff --git a/static/admin/index.html b/static/admin/index.html index 5387f358..01638826 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -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)