From c754863ac7a40eb5f5f6c8005d7c511460a392f2 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 406e842..cac5df4 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);