fix: defautl route
This commit is contained in:
parent
7780b57505
commit
fbedd82642
@ -12,7 +12,7 @@ export const HublAutoLogin = {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent('requestNavigation', {
|
||||
detail: {
|
||||
route: window.hubl.getRoute("dashboard", true)
|
||||
route: window.hubl.getRoute((window.hubl.defaultRoute || "dashboard"), true)
|
||||
}
|
||||
}),
|
||||
);
|
||||
|
@ -88,7 +88,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent('requestNavigation', {
|
||||
detail: {
|
||||
route: window.hubl.getRoute("dashboard", true)
|
||||
route: window.hubl.getRoute((window.hubl.defaultRoute || "dashboard"), true)
|
||||
}
|
||||
}),
|
||||
);
|
||||
@ -131,7 +131,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent('requestNavigation', {
|
||||
detail: {
|
||||
route: window.hubl.getRoute("dashboard", true)
|
||||
route: window.hubl.getRoute((window.hubl.defaultRoute || "dashboard"), true)
|
||||
}
|
||||
}),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user