Fix: connection select All empty

This commit is contained in:
Dreamacro 2021-08-19 11:35:37 +08:00
parent 594f76c7b4
commit cf7723eb8f

View File

@ -200,7 +200,7 @@ export default function Connections () {
const [device, setDevice] = useState('') const [device, setDevice] = useState('')
function handleDeviceSelected (label: string) { function handleDeviceSelected (label: string) {
setDevice(label) setDevice(label)
setFilter?.(Columns.SourceIP, label) setFilter?.(Columns.SourceIP, label || undefined)
} }
// click item // click item