likyh commented on code in PR #3496:
URL: 
https://github.com/apache/incubator-devlake/pull/3496#discussion_r1013014446


##########
config-ui/src/components/blueprints/DataScopesGrid.jsx:
##########
@@ -144,39 +144,29 @@ const DataScopesGrid = (props) => {
                 whiteSpace: 'nowrap'
               }}
             >
-              {[Providers.GITLAB, Providers.GITHUB].includes(
-                c.provider?.id
-              ) && (
+              {[

Review Comment:
   `coniguredEntityId()` is defined in entity. But here `c` means 
`DataScopeConnection`.
   Defined a new function in `DataScopeConnection`?
   ```
   function hasScopeEntities() {
       return this.scopeEntities > 0
   }
   ```
   
   I agree with `ProvidersThatXXXX`.



-- 
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]

Reply via email to