Skip to content

Commit

Permalink
fix: Tags
Browse files Browse the repository at this point in the history
  • Loading branch information
song-xiao-lin authored and VillanCh committed Dec 22, 2023
1 parent 86c23b2 commit 8d398ac
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1407,6 +1407,16 @@ export const HTTPFlowTable = React.memo<HTTPFlowTableProp>((props) => {
}, 100)
})

// useEffect(() => {
// if (!selectedRowKeys.length) {
// setIsAllSelect(false)
// }
// }, [selectedRowKeys])

// useEffect(() => {
// setIsAllSelect(false)
// }, [total, queryParams])

const onSelectAll = (newSelectedRowKeys: string[], selected: HTTPFlow[], checked: boolean) => {
setIsAllSelect(checked)
setSelectedRowKeys(newSelectedRowKeys)
Expand Down Expand Up @@ -1572,7 +1582,7 @@ export const HTTPFlowTable = React.memo<HTTPFlowTableProp>((props) => {
filterSearchInputProps: {
size: "small"
},
filterIcon: <SearchIcon />,
filterIcon: <SearchIcon onClick={() => getHTTPFlowsFieldGroup(true)} />,
filters: tags
}
},
Expand Down

0 comments on commit 8d398ac

Please sign in to comment.