From 7b7c373e2c3b3a2b8f3bac8297e980f4096da9a4 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);