mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 11:17:24 +00:00
web: make icon column sortable
This commit is contained in:
parent
e483aa544f
commit
89beb31c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue