fix(scaffolder): remove waiting until all fields are filled in before requesting user credentials

Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
This commit is contained in:
Benjamin Janssens
2024-05-23 15:21:24 +02:00
parent a513fabc63
commit 1ea76795a0
2 changed files with 6 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Removed waiting until all fields are filled in before requesting user credentials
@@ -125,10 +125,7 @@ export const RepoUrlPicker = (props: RepoUrlPickerProps) => {
const { requestUserCredentials } = uiSchema?.['ui:options'] ?? {};
const workspace = state.owner ? state.owner : state.project;
if (
!requestUserCredentials ||
!(state.host && workspace && state.repoName)
) {
if (!requestUserCredentials) {
return;
}