mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-04 04:22:58 +00:00
f
This commit is contained in:
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user