From e7168dd281d83561f64a47b6e686fea94710fefa Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Thu, 20 Apr 2023 07:51:28 +0200 Subject: [PATCH] fix typo --- static/admin/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/admin/index.html b/static/admin/index.html index 5387f35..0163882 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)