@nova-ui/bits 15.0.10 → 15.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26716,6 +26716,9 @@ class ThemeSwitchService {
|
|
|
26716
26716
|
.subscribe((route) => {
|
|
26717
26717
|
const showThemeSwitcher = (route.snapshot.data || {})
|
|
26718
26718
|
.showThemeSwitcher;
|
|
26719
|
+
if (typeof showThemeSwitcher === "undefined") {
|
|
26720
|
+
return;
|
|
26721
|
+
}
|
|
26719
26722
|
this.showThemeSwitcherSubject.next(showThemeSwitcher);
|
|
26720
26723
|
if (showThemeSwitcher) {
|
|
26721
26724
|
/** Case when route is changed on the same page (see on breadcrumb component docs page) */
|