This commit is contained in:
Tomas Dvorak
2025-05-29 09:28:23 +02:00
parent 2bf92edbb3
commit e795aec55d
+3 -1
View File
@@ -30,7 +30,9 @@
// Log the banner data for debugging
console.log('Banner data:', JSON.stringify(banner, null, 2));
if (!banner.IsVisible) {
// Check if banner should be visible
const isVisible = banner.Style?.IsVisible ?? banner.IsVisible ?? true;
if (!isVisible) {
console.log('Banner is not visible');
return;
}