diff --git a/apps/rowboat/app/actions.ts b/apps/rowboat/app/actions.ts index 8a22b09a..6e401dbf 100644 --- a/apps/rowboat/app/actions.ts +++ b/apps/rowboat/app/actions.ts @@ -336,7 +336,7 @@ export async function createProject(formData: FormData) { redirect(`/projects/${projectId}/workflow`); } -export async function getProjectConfig(projectId: string): Promise> { +export async function getProjectConfig(projectId: string): Promise>> { await projectAuthCheck(projectId); const project = await projectsCollection.findOne({ _id: projectId, diff --git a/apps/rowboat/app/lib/components/editable-field.tsx b/apps/rowboat/app/lib/components/editable-field.tsx index cead08b9..cb1cb689 100644 --- a/apps/rowboat/app/lib/components/editable-field.tsx +++ b/apps/rowboat/app/lib/components/editable-field.tsx @@ -84,8 +84,8 @@ export function EditableField({ }; return ( -
-
+
+ {(label || isEditing && multiline) &&
{label &&
{label}
} {isEditing && multiline &&
} -
+
} {isEditing ? ( multiline ? (