chore(): sync vue tabs changes with master

This commit is contained in:
Liam DeBeasi
2021-03-04 15:31:42 -05:00
71 changed files with 2216 additions and 188 deletions

View File

@ -252,7 +252,9 @@ export const createIonRouter = (opts: IonicVueRouterOptions, router: Router) =>
}
}
const changeTab = (tab: string, path: string) => {
const changeTab = (tab: string, path?: string) => {
if (!path) return;
const routeInfo = locationHistory.getCurrentRouteInfoForTab(tab);
const [pathname] = path.split('?');