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