likyh commented on code in PR #4106:
URL:
https://github.com/apache/incubator-devlake/pull/4106#discussion_r1061536236
##########
config-ui/src/pages/blueprint/create/step-three/index.tsx:
##########
@@ -52,10 +52,7 @@ export const StepThree = () => {
const scope = scopeMap[unique] ?? [];
return {
...connection,
- scope: scope.map((sc: any) => ({
- id: `${sc.id}`,
- entities: `${sc.entities}`,
- })),
+ scopeIds: scope.map((sc: any) => sc.id),
Review Comment:
I think it kind of confuse to use a scope as a Array. Just use scopes and
forget glasses..
--
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]