diff --git a/frontend/src/app/[organisation]/prosjekt/[project]/page.tsx b/frontend/src/app/[organisation]/prosjekt/[project]/page.tsx index af8f4989..f3d5a823 100644 --- a/frontend/src/app/[organisation]/prosjekt/[project]/page.tsx +++ b/frontend/src/app/[organisation]/prosjekt/[project]/page.tsx @@ -39,6 +39,8 @@ export default async function Project({ }${weekSpan ? `${selectedWeek ? "&" : "?"}WeekSpan=${weekSpan}` : ""}`, )) ?? []; + const isInternalProject = project?.customerName === "Variant"; + if (project) { return (
- + {isInternalProject ? ( +

{project.projectName}

+ ) : ( + + )} +

{project.customerName}

diff --git a/frontend/src/components/EditEngagementName.tsx b/frontend/src/components/EditEngagementName.tsx index d9b6acf6..777f0e25 100644 --- a/frontend/src/components/EditEngagementName.tsx +++ b/frontend/src/components/EditEngagementName.tsx @@ -78,8 +78,10 @@ export default function EditEngagementName({ setNewEngagementName(e.target.value); setInputIsInvalid(false); }} - className={`h1 w-full px-2 ${ - inputIsInvalid ? " text-error focus:outline-error" : "" + className={`h1 w-full px-2 rounded ${ + inputIsInvalid + ? " text-error focus:outline-error focus:outline focus:outline-2" + : "" }`} autoFocus onBlur={() => {