fix: defautl route

This commit is contained in:
Jean-Baptiste Pasquier
2021-05-17 12:45:19 +02:00
parent 7780b57505
commit fbedd82642
2 changed files with 3 additions and 3 deletions

View File

@ -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)
}
}),
);