fix(teams): respect basePath in Manage teams menu link

This commit is contained in:
Nicolas Moreno committed 2026-09-01 06:59:38 -05:00
1 parent 5ce5664b29
commit 054c365504
1 file changed
+10 -9
+10 -9
View File
@@ -87,15 +87,16 @@ export function TeamsButton() {
</MenuItem>
))}
<MenuSeparator />
<MenuItem id="manage-teams">
<a href="/settings/teams" style={{ width: '100%' }}>
<Row alignItems="center" justifyContent="space-between" gap>
<Text align="center">Manage teams</Text>
<Icon>
<ArrowRight />
</Icon>
</Row>
</a>
<MenuItem
id="manage-teams"
onAction={() => handleNavigate(getUrl('/settings/teams'))}
>
<Row alignItems="center" justifyContent="space-between" gap width="100%">
<Text align="center">Manage teams</Text>
<Icon>
<ArrowRight />
</Icon>
</Row>
</MenuItem>
</MenuSection>
</Menu>