Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36d938f

Browse files
authored
fix: show diagnostics if there are no parameters (#17967)
Prefer to show the top level diagnostics inside the parameters sectionfor context but this adds a case to show diagnostics if there are noparameters.Normally, the entire parameters section is hidden if there are noparameters.
1 parentb7462fb commit36d938f

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+
<Diagnosticsdiagnostics={diagnostics}/>
494+
)}
495+
492496
{parameters.length>0&&(
493497
<sectionclassName="flex flex-col gap-9">
494498
<hgroup>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp