web: make icon column sortable

This commit is contained in:
Maximilian Hils 2021-08-23 18:59:38 +02:00
parent e483aa544f
commit 89beb31c8e

View File

@ -37,7 +37,7 @@ export const icon: FlowColumn = ({flow}) => {
) )
} }
icon.headerName = '' icon.headerName = ''
icon.sortKey = flow => 0 icon.sortKey = flow => getIcon(flow)
const getIcon = (flow: Flow): string => { const getIcon = (flow: Flow): string => {
if (flow.type !== "http" || !flow.response) { if (flow.type !== "http" || !flow.response) {