We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4cdeeb commit 71c1c36Copy full SHA for 71c1c36
src/components/dockerRegistry/Docker.tsx
@@ -545,7 +545,7 @@ const DockerForm = ({
545
isPublic ? RegistryStorageType.OCI_PUBLIC : RegistryStorageType.OCI_PRIVATE,
546
)
547
const [authenticationType, setAuthenticationType] = useState<OtherRegistryAuthenticationType>(
548
- id ? authCredentialsType : OtherRegistryAuthenticationType.USERNAME_PASSWORD,
+ id && authCredentialsType ? authCredentialsType : OtherRegistryAuthenticationType.USERNAME_PASSWORD,
549
550
551
const InitialValueOfIsContainerStore: boolean =
0 commit comments