mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
fix: revert link changes (#8425)
Making them absolute appears to break them. Reverting to relative links.
This commit is contained in:
parent
7c5fab518f
commit
4c8aef58ae
@ -59,7 +59,7 @@ export const CreateFlag: FC<{ project: string }> = ({ project }) => {
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<Button
|
<Button
|
||||||
href={`/projects/${project}`}
|
href={`projects/${project}`}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
trackEvent('personal-dashboard', {
|
trackEvent('personal-dashboard', {
|
||||||
props: {
|
props: {
|
||||||
@ -115,7 +115,7 @@ export const ConnectSDK: FC<{ project: string }> = ({ project }) => {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<Button href={`/projects/${project}`} variant='contained'>
|
<Button href={`projects/${project}`} variant='contained'>
|
||||||
Go to project
|
Go to project
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -70,7 +70,7 @@ const FlagListItem: FC<{
|
|||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
const IconComponent = getFeatureTypeIcons(flag.type);
|
const IconComponent = getFeatureTypeIcons(flag.type);
|
||||||
const flagLink = `/projects/${flag.project}/features/${flag.name}`;
|
const flagLink = `projects/${flag.project}/features/${flag.name}`;
|
||||||
return (
|
return (
|
||||||
<ListItem
|
<ListItem
|
||||||
key={flag.name}
|
key={flag.name}
|
||||||
|
Loading…
Reference in New Issue
Block a user