Skip to content

Commit

Permalink
fix(container-registry): disabled demo cluster (#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBonnet authored Oct 25, 2024
1 parent c2c2554 commit ca27fd0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ export function ContainerRegistryForm({
ContainerRegistryKindEnum.GITLAB_CR,
() => true
)
.otherwise(() => false)
.otherwise(() => false) ||
cluster?.is_demo
}
/>
)}
Expand Down Expand Up @@ -229,6 +230,7 @@ export function ContainerRegistryForm({
}}
value={field.value}
label="Login type"
disabled={cluster?.is_demo}
error={error?.message}
options={[
{
Expand Down

0 comments on commit ca27fd0

Please sign in to comment.