This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 028f3430 fix: fetch proxy if jira is an enabled provider (#2795)
028f3430 is described below
commit 028f343086fc2fe1827fd795d5dfdf8c0635684b
Author: Julien Chinapen <[email protected]>
AuthorDate: Tue Aug 23 03:59:34 2022 -0400
fix: fetch proxy if jira is an enabled provider (#2795)
---
config-ui/src/pages/blueprints/create-blueprint.jsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/config-ui/src/pages/blueprints/create-blueprint.jsx
b/config-ui/src/pages/blueprints/create-blueprint.jsx
index 6c632c74..3e1d988b 100644
--- a/config-ui/src/pages/blueprints/create-blueprint.jsx
+++ b/config-ui/src/pages/blueprints/create-blueprint.jsx
@@ -580,7 +580,10 @@ const CreateBlueprint = (props) => {
const getAllSources = true
fetchAllConnections(enableNotifications, getAllSources)
}
- if (mode === BlueprintMode.NORMAL && ([2, 3].includes(activeStep?.id))) {
+ if (mode === BlueprintMode.NORMAL
+ && ([2, 3].includes(activeStep?.id))
+ && enabledProviders.includes(Providers.JIRA)
+ ) {
fetchBoards()
fetchIssueTypes()
fetchFields()