mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-04 20:42:59 +00:00
f
This commit is contained in:
+3
-1
@@ -30,7 +30,9 @@
|
|||||||
// Log the banner data for debugging
|
// Log the banner data for debugging
|
||||||
console.log('Banner data:', JSON.stringify(banner, null, 2));
|
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');
|
console.log('Banner is not visible');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user