mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix Integrations tab selection not matching nested routes
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
This commit is contained in:
co-authored by
stnguyen90
parent
9d0ca37160
commit
3a6d87cd9f
@@ -53,7 +53,7 @@
|
||||
}
|
||||
|
||||
function isTabSelected(key: string) {
|
||||
return page.url.pathname.endsWith(`/${key}`);
|
||||
return page.url.pathname.split('/').includes(key);
|
||||
}
|
||||
|
||||
$: $registerCommands([
|
||||
|
||||
Reference in New Issue
Block a user