mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 09:37:37 +00:00
web: make icon column sortable
This commit is contained in:
parent
e483aa544f
commit
89beb31c8e
@ -37,7 +37,7 @@ export const icon: FlowColumn = ({flow}) => {
|
||||
)
|
||||
}
|
||||
icon.headerName = ''
|
||||
icon.sortKey = flow => 0
|
||||
icon.sortKey = flow => getIcon(flow)
|
||||
|
||||
const getIcon = (flow: Flow): string => {
|
||||
if (flow.type !== "http" || !flow.response) {
|
||||
|
Loading…
Reference in New Issue
Block a user