From 2dcdf42c012cc014396f00a78a376c09dee610c7 Mon Sep 17 00:00:00 2001 From: Lorenzo Date: Mon, 29 Apr 2024 16:01:36 +0200 Subject: [PATCH] chore: restore WipBadge old text --- client/src/features/projectsV2/shared/WipBadge.tsx | 11 ++++++----- client/src/features/secrets/Secrets.tsx | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/client/src/features/projectsV2/shared/WipBadge.tsx b/client/src/features/projectsV2/shared/WipBadge.tsx index 58f89504b1..f33f812000 100644 --- a/client/src/features/projectsV2/shared/WipBadge.tsx +++ b/client/src/features/projectsV2/shared/WipBadge.tsx @@ -21,9 +21,13 @@ import { Badge, UncontrolledTooltip } from "reactstrap"; type WipBadeProps = { label?: string; + text?: string; }; -export default function WipBadge({ label = "Alpha" }: WipBadeProps) { +export default function WipBadge({ + label = "Alpha", + text = "Renku 2.0 is under active development and features may not work as expected.", +}: WipBadeProps) { const ref = useRef(null); return ( @@ -31,10 +35,7 @@ export default function WipBadge({ label = "Alpha" }: WipBadeProps) { {label} - - Renku 2.0 is under active development and features may not work as - expected. - + {text} ); } diff --git a/client/src/features/secrets/Secrets.tsx b/client/src/features/secrets/Secrets.tsx index 206949c8c4..540c1a6811 100644 --- a/client/src/features/secrets/Secrets.tsx +++ b/client/src/features/secrets/Secrets.tsx @@ -74,7 +74,7 @@ export default function Secrets() {

User Secrets

- +
{pageInfo}