From e0fcfce859a6ffb0ba5d7e665118aad086f164ef Mon Sep 17 00:00:00 2001 From: Austen Money Date: Mon, 22 Jul 2024 09:52:15 -0400 Subject: [PATCH] update login alert to update text for workspaces only --- context/app/static/js/shared-styles/alerts/LoginAlert.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/context/app/static/js/shared-styles/alerts/LoginAlert.tsx b/context/app/static/js/shared-styles/alerts/LoginAlert.tsx index c77b06f820..b3942439b9 100644 --- a/context/app/static/js/shared-styles/alerts/LoginAlert.tsx +++ b/context/app/static/js/shared-styles/alerts/LoginAlert.tsx @@ -9,7 +9,10 @@ interface LoginAlertProps { export default function LoginAlert({ featureName }: LoginAlertProps) { return ( Log in}> - You must be logged in to access {featureName}. Access to {featureName} is restricted to HuBMAP members at present. + You must be logged in to access {featureName}. + {featureName === 'workspaces' + ? ` At present, access to ${featureName} is restricted to HuBMAP members and invited community members.` + : ` Access to ${featureName} is restricted to HuBMAP members at present.`} ); }