Skip to content

Commit 8521142

Browse files
Mattia Franchettomtfranchetto
Mattia Franchetto
authored andcommitted
Remove extra spacing from Create container when no errors are shown
1 parent 9940444 commit 8521142

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/old-pages/Configure/Create.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ function Create() {
223223
}
224224
>
225225
<SpaceBetween direction="vertical" size="s">
226-
<Flashbar {...flashbarProps} />
226+
{flashbarProps.items.length > 0 ? (
227+
<Flashbar {...flashbarProps} />
228+
) : null}
227229
<ConfigView
228230
config={clusterConfig}
229231
pending={!clusterConfig}

0 commit comments

Comments
 (0)