Skip to content

Commit 4f14250

Browse files
authored
fix(link): Fixed broken link to auth token page (#80)
1 parent dba6957 commit 4f14250

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
IMAGE?=localstack/localstack-docker-desktop
2-
TAG?=2026.4.0
2+
TAG?=2026.4.1
33

44
BUILDER=buildx-multi-arch
55

ui/src/components/Views/SystemStatus/StatusPage.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
useLocalStackHealth,
1818
useLocalStack,
1919
capitalize,
20+
useDDClient,
2021
} from '../../../services';
2122
import { HealthState } from '../../../types';
2223

@@ -47,11 +48,13 @@ const useStyles = makeStyles((theme: Theme) =>
4748
}),
4849
);
4950

50-
const LICENSE_DOCS_URL = 'https://docs.localstack.cloud/aws/getting-started/auth-token/#configuring-your-auth-token';
51+
const LICENSE_DOCS_URL =
52+
'https://docs.localstack.cloud/aws/getting-started/auth-token/#configuring-your-auth-token';
5153

5254
export const StatusPage = (): ReactElement => {
5355
const { health, mutate } = useLocalStackHealth();
5456
const { data } = useLocalStack();
57+
const { client: ddClient } = useDDClient();
5558

5659
const isRunning = data && data.State === 'running';
5760

@@ -113,6 +116,10 @@ export const StatusPage = (): ReactElement => {
113116
rel="noreferrer"
114117
color="inherit"
115118
underline="always"
119+
onClick={(event) => {
120+
event.preventDefault();
121+
ddClient.host.openExternal(LICENSE_DOCS_URL);
122+
}}
116123
>
117124
Learn how to configure your license
118125
</Link>

0 commit comments

Comments
 (0)