Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Trim the whitespace for branchFilter config

天舟4dfe4fbf3f0b
diff --git a/frontend/src/components/RepositorySetupWizard.vue b/frontend/src/components/RepositorySetupWizard.vue
index c383ebceff..ceba80b72d 100644
--- a/frontend/src/components/RepositorySetupWizard.vue
+++ b/frontend/src/components/RepositorySetupWizard.vue
@@ -103,7 +103,7 @@ export default {
const allowNext = computed((): boolean => {
if (state.currentStep == CONFIGURE_DEPLOY_STEP) {
- return !isEmpty(state.config.repositoryConfig.branchFilter);
+ return !isEmpty(state.config.repositoryConfig.branchFilter.trim());
}
return true;
});
@@ -127,7 +127,7 @@ export default {
vcs: state.config.vcs,
webhookEndpointId,
projectId: state.config.repositoryInfo.externalId,
- branchFilter: state.config.repositoryConfig.branchFilter,
+ branchFilter: state.config.repositoryConfig.branchFilter.trim(),
secretToken,
accessToken: state.config.token.accessToken,
})