milestone 32: task-shaped configuration, file mode as a rendering, config status api
Gates / frontend (push) Successful in 1m22s
Gates / test (push) Successful in 1m54s
Gates / test-aarch64 (push) Successful in 7m57s
Gates / package (push) Successful in 5m29s
Gates / container (push) Successful in 10s
CI / gates (push) Successful in 32m51s
Gates / frontend (push) Successful in 1m22s
Gates / test (push) Successful in 1m54s
Gates / test-aarch64 (push) Successful in 7m57s
Gates / package (push) Successful in 5m29s
Gates / container (push) Successful in 10s
CI / gates (push) Successful in 32m51s
This commit is contained in:
@@ -124,8 +124,25 @@ function FactLinkAnchor({ link }: { link: FactLink }) {
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
// The tab belongs to the destination, not to the fact: a source that stopped
|
||||
// loading is read on Protection's Sources tab, an upstream on Resolution's.
|
||||
if (link.to === "/configuration/protection") {
|
||||
return (
|
||||
<Link
|
||||
to="/configuration/protection"
|
||||
search={{ tab: "sources" }}
|
||||
{...stylex.props(styles.link, shared.focusRing)}
|
||||
>
|
||||
{link.label}
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<Link to={link.to} {...stylex.props(styles.link, shared.focusRing)}>
|
||||
<Link
|
||||
to="/configuration/resolution"
|
||||
search={{ tab: "upstreams" }}
|
||||
{...stylex.props(styles.link, shared.focusRing)}
|
||||
>
|
||||
{link.label}
|
||||
</Link>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user