This is an automated email from the ASF dual-hosted git repository.

likyh pushed a commit to branch release-v0.14
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.14 by this push:
     new 9a42e2b7d fix(config-ui): the jira connection scope not exist (#4080)
9a42e2b7d is described below

commit 9a42e2b7da12d2e1451bef7f38af45e160aeb843
Author: 青湛 <[email protected]>
AuthorDate: Fri Dec 30 21:31:54 2022 +0800

    fix(config-ui): the jira connection scope not exist (#4080)
---
 config-ui/src/pages/blueprints/blueprint-settings.jsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config-ui/src/pages/blueprints/blueprint-settings.jsx 
b/config-ui/src/pages/blueprints/blueprint-settings.jsx
index b1f862d5d..2aa15ed05 100644
--- a/config-ui/src/pages/blueprints/blueprint-settings.jsx
+++ b/config-ui/src/pages/blueprints/blueprint-settings.jsx
@@ -679,7 +679,7 @@ const BlueprintSettings = (props) => {
                       c.scope?.map((s) => s.options?.boardId),
                       [
                         ...allJiraResources?.boards,
-                        ...c.scope.map((s) => s.options)
+                        ...(c.scope?.map((s) => s.options) ?? [])
                       ]
                     )
                   : []
@@ -707,7 +707,7 @@ const BlueprintSettings = (props) => {
                       c.scope?.map((s) => s.options?.boardId),
                       [
                         ...allJiraResources?.boards,
-                        ...c.scope.map((s) => s.options)
+                        ...(c.scope?.map((s) => s.options) ?? [])
                       ]
                     )
                   : []
@@ -918,7 +918,7 @@ const BlueprintSettings = (props) => {
                 ...c,
                 boardsList: getJiraMappedBoards(c.boardIds, [
                   ...(boards ?? []),
-                  ...c.scope.map((s) => s.options)
+                  ...(c.scope?.map((s) => s.options) ?? [])
                 ])
               })
           )
@@ -951,7 +951,7 @@ const BlueprintSettings = (props) => {
                 ...c,
                 boardsList: getJiraMappedBoards(c.boardIds, [
                   ...(boards ?? []),
-                  ...c.scope.map((s) => s.options)
+                  ...(c.scope?.map((s) => s.options) ?? [])
                 ])
               })
           )

Reply via email to