From f1802e6fa60c9cd2c2ea82dece63aa0eb30f72a9 Mon Sep 17 00:00:00 2001 From: Eric P Green Date: Fri, 8 Dec 2023 10:02:38 -0800 Subject: [PATCH] Wrap project names with underscores --- web-admin/src/features/projects/ProjectCard.svelte | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/web-admin/src/features/projects/ProjectCard.svelte b/web-admin/src/features/projects/ProjectCard.svelte index dce1eff59cc..a0b13f644c7 100644 --- a/web-admin/src/features/projects/ProjectCard.svelte +++ b/web-admin/src/features/projects/ProjectCard.svelte @@ -14,6 +14,10 @@ // Check whether project is public or private $: proj = createAdminServiceGetProject(organization, project); + + function doesProjectNameIncludeUnderscores(project: string) { + return project.includes("_"); + } {#if $proj.data} @@ -22,7 +26,13 @@ bgClasses="bg-gradient-to-b from-white to-slate-50" > -

+

{project}