Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix when showing parameters
  • Loading branch information
BrunoQuaresma committed Jan 26, 2024
commit 0a5e6b75c14775d668d085a7b46502b55cb0373d
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ export const WithError: Story = {
name: "number_parameter",
type: "number",
description: "Numeric parameter",
default_value: "",
}),
error: true,
helperText: "Number must be greater than 5",
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const CreateWorkspacePageView: FC<CreateWorkspacePageViewProps> = ({
</FormFields>
</FormSection>

{parameters && (
{parameters.length > 0 && (
<FormSection
title="Parameters"
description="These are the settings used by your template. Please note that immutable parameters cannot be modified once the workspace is created."
Expand Down