Update tabs.tsx

This commit is contained in:
José Rio
2025-02-06 17:31:46 +00:00
parent 6b164c8f44
commit dafb0b9005

View File

@ -182,6 +182,9 @@ export class Tabs implements NavOutlet {
}
private onTabClicked = (ev: CustomEvent<TabButtonClickEventDetail>) => {
console.log("onTabClicked");
const { href, tab } = ev.detail;
if (this.useRouter && href !== undefined) {
const router = document.querySelector('ion-router');