Liammcl commented on code in PR #3081:
URL: https://github.com/apache/amoro/pull/3081#discussion_r1708514037


##########
amoro-ams/amoro-ams-dashboard/src/views/tables/components/Selector.vue:
##########
@@ -33,8 +33,14 @@ const tagSearchKey = ref<string>('')
 const tabActiveKey = ref<string>(branchTypeMap.BRANCH)
 const branchList = ref<IBranchItem[]>([])
 const tagList = ref<IBranchItem[]>([])
-const actualBranchList = computed(() => branchList.value.filter(item => 
!branchSearchKey.value || item.label.includes(branchSearchKey.value)))
-const actualTagList = computed(() => tagList.value.filter(item => 
!tagSearchKey.value || item.label.includes(tagSearchKey.value)))
+const consumerList = ref<IBranchItem[]>([])
+const actualBranchList = computed(() =>branchList.value.filter((item) 
=>!branchSearchKey.value ||
+ item.label.includes(branchSearchKey.value)))
+const actualTagList = computed(() =>tagList.value.filter((item) => 
!tagSearchKey.value || 
+item.label.includes(tagSearchKey.value)))
+const actualConsumerList = computed(() =>consumerList.value.filter((item) => 
!tagSearchKey.value || 

Review Comment:
   Of course, I will fix these bugs



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