e2corporation commented on code in PR #2146:
URL: https://github.com/apache/incubator-devlake/pull/2146#discussion_r896250724
##########
config-ui/src/pages/pipelines/create.jsx:
##########
@@ -453,7 +462,7 @@ const CreatePipeline = (props) => {
setRunTasks(PipelineTasks.flat())
console.log('>> CONFIGURED PIPELINE TASKS = ', PipelineTasks)
validate()
- if (enabledProviders.includes(Providers.JIRA)) {
+ if (enabledProviders.includes(Providers.JIRA) ||
enabledProviders.includes(Providers.GITLAB)) {
fetchAllConnections(false)
Review Comment:
As mentioned in the previous comment, we'd want to know what is the active
provider we need before calling `fetchAllConnections`. This would be enhanced
to `fetchAllConnections(false, Providers.GITLAB)`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]