Merge pull request #4502 from nicolas2601/fix/manage-teams-base-path
fix(teams): respect basePath in Manage teams menu link
This commit is contained in:
1 file changed
+10
-9
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user