skopix 2.0.51 → 2.0.53
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.
- package/package.json +1 -1
- package/web/app/index.html +5 -4
package/package.json
CHANGED
package/web/app/index.html
CHANGED
|
@@ -2912,11 +2912,12 @@ function switchView(name) {
|
|
|
2912
2912
|
}
|
|
2913
2913
|
let currentView = 'dashboard';
|
|
2914
2914
|
|
|
2915
|
-
document.
|
|
2916
|
-
|
|
2915
|
+
document.addEventListener('click', (e) => {
|
|
2916
|
+
const navItem = e.target.closest('.nav-item[data-view]');
|
|
2917
|
+
if (navItem) {
|
|
2917
2918
|
e.preventDefault();
|
|
2918
|
-
switchView(
|
|
2919
|
-
}
|
|
2919
|
+
switchView(navItem.dataset.view);
|
|
2920
|
+
}
|
|
2920
2921
|
});
|
|
2921
2922
|
|
|
2922
2923
|
// ───── MODAL ─────────────────────────────────────────────────────────────────
|