Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization not working in dark theme #30

Open
tonyprinzler opened this issue Mar 31, 2022 · 1 comment
Open

Visualization not working in dark theme #30

tonyprinzler opened this issue Mar 31, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tonyprinzler
Copy link

I'm getting following error using the viz in dark mode

Uncaught TypeError: Cannot read properties of undefined (reading 'styleSheet')
at child._darkModeInit (/en-US/static/@77015bc7a462/app/leaflet_maps_app/visualizations/maps-plus/visualization.js:311:103)
at child.updateView (/en-US/static/@77015bc7a462/app/leaflet_maps_app/visualizations/maps-plus/visualization.js:2015:46)
at child. (/en-US/static/@FBDFF6F6AE2E563869C7B0C4F64B3EC1EE00DACD1B32157230D78C951B4C8AC5/build/pages/dark/dashboard_1.1.js:1314:1607975)
at child._tryWithAsyncCatch (/en-US/static/@FBDFF6F6AE2E563869C7B0C4F64B3EC1EE00DACD1B32157230D78C951B4C8AC5/build/pages/dark/dashboard_1.1.js:1314:1612370)
at child.updateView (/en-US/static/@FBDFF6F6AE2E563869C7B0C4F64B3EC1EE00DACD1B32157230D78C951B4C8AC5/build/pages/dark/dashboard_1.1.js:1314:1607927)
at child._updateView (/en-US/static/@FBDFF6F6AE2E563869C7B0C4F64B3EC1EE00DACD1B32157230D78C951B4C8AC5/build/pages/dark/dashboard_1.1.js:1314:1578927)
at child._updateView (/en-US/static/@FBDFF6F6AE2E563869C7B0C4F64B3EC1EE00DACD1B32157230D78C951B4C8AC5/build/pages/dark/dashboard_1.1.js:1314:1607871)
at Subclass.Class.validate (/en-US/static/@FBDFF6F6AE2E563869C7B0C4F64B3EC1EE00DACD1B32157230D78C951B4C8AC5/build/pages/dark/dashboard_1.1.js:829:5886)
at Subclass.Class.validate (/en-US/static/@FBDFF6F6AE2E563869C7B0C4F64B3EC1EE00DACD1B32157230D78C951B4C8AC5/build/pages/dark/dashboard_1.1.js:1314:1575156)
at Subclass.Class.validateAll (/en-US/static/@FBDFF6F6AE2E563869C7B0C4F64B3EC1EE00DACD1B32157230D78C951B4C8AC5/build/pages/dark/dashboard_1.1.js:829:6776)

Does someone know why and how to workaround?

@sghaskell
Copy link
Owner

Thanks for reporting. I'll test this out and see what's going on. What version of Splunk are you running?

@sghaskell sghaskell self-assigned this Aug 15, 2022
@sghaskell sghaskell added the bug Something isn't working label Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants