Skip to content

Commit 4f4cc09

Browse files
committed
fix: show diagnostics if there are no parameters
1 parent 818d4d0 commit 4f4cc09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

site/src/pages/CreateWorkspacePage/CreateWorkspacePageViewExperimental.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,10 @@ export const CreateWorkspacePageViewExperimental: FC<
489489
</section>
490490
)}
491491

492+
{parameters.length === 0 && diagnostics.length > 0 && (
493+
<Diagnostics diagnostics={diagnostics} />
494+
)}
495+
492496
{parameters.length > 0 && (
493497
<section className="flex flex-col gap-9">
494498
<hgroup>

0 commit comments

Comments
 (0)