diff --git a/admin-dashboard.html b/admin-dashboard.html
index ee1244b..13f3977 100644
--- a/admin-dashboard.html
+++ b/admin-dashboard.html
@@ -1858,7 +1858,7 @@ function updateBannerPreview() {
text-align: center;
color: #666;
font-style: italic;
- ${template.textStyle || ''}
+ ${template?.textStyle || ''}
">
${bannerText || 'Náhled banneru (pro zobrazení šablon nahrajte obrázek)'}