From 7da8cab5dad8b99b319910aa9e5edb25f3cc39a5 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 5 Nov 2022 14:33:57 +0100 Subject: [PATCH] fix chronik preview #2 --- static/admin-new/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/admin-new/index.html b/static/admin-new/index.html index 406e842d..cac5df48 100644 --- a/static/admin-new/index.html +++ b/static/admin-new/index.html @@ -49,7 +49,7 @@ var ChronikPreview = ({widgetFor, entry }) => { ); }; -CMS.registerPreviewTemplate("schulchronik", PostPreview); +CMS.registerPreviewTemplate("schulchronik", ChronikPreview);