You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by li...@apache.org on 2022/11/08 07:14:44 UTC
[incubator-devlake] branch main updated: fix(config-ui): the judgment condition is wrong to let the data scope is not displayed (#3697)
This is an automated email from the ASF dual-hosted git repository.
likyh 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 8fca1320 fix(config-ui): the judgment condition is wrong to let the data scope is not displayed (#3697)
8fca1320 is described below
commit 8fca132077207b031622b5893fc3d10015ff4525
Author: 青湛 <0x...@gmail.com>
AuthorDate: Tue Nov 8 15:14:41 2022 +0800
fix(config-ui): the judgment condition is wrong to let the data scope is not displayed (#3697)
---
config-ui/src/models/DataScopeConnection.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config-ui/src/models/DataScopeConnection.js b/config-ui/src/models/DataScopeConnection.js
index 5a6c6608..e864b654 100644
--- a/config-ui/src/models/DataScopeConnection.js
+++ b/config-ui/src/models/DataScopeConnection.js
@@ -67,7 +67,7 @@ class DataScopeConnection {
}
hasScopeEntities() {
- return this.scopeEntities > 0
+ return this.scopeEntities.length > 0
}
get(property) {