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
typos
  • Loading branch information
sreya committed Dec 10, 2023
commit 31eaca6653f7e43ed318ee1831d27fb39c30c6a7
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ export const WorkspaceParametersForm: FC<{
);

const disabled =
workspace.template_require_active_version && !canChangeVersions;
workspace.outdated &&
workspace.template_require_active_version &&
!canChangeVersions;

return (
<HorizontalForm onSubmit={form.handleSubmit} data-testid="form">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export const WorkspaceParametersPageView: FC<

{workspace.template_require_active_version && !canChangeVersions && (
<Alert severity="warning" css={{ marginBottom: 48 }}>
The template for this workspace requires automatic updates. This
workspace must be on the latest version to edit paremeters.
The template for this workspace requires automatic updates. Update the
workspace to edit parameters.
</Alert>
)}

Expand Down