From 89beb31c8e320d2c012c42e5000b51adaa419276 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 23 Aug 2021 18:59:38 +0200 Subject: [PATCH] web: make icon column sortable --- web/src/js/components/FlowTable/FlowColumns.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/js/components/FlowTable/FlowColumns.tsx b/web/src/js/components/FlowTable/FlowColumns.tsx index 9a9e9bb13..00e3ac26e 100644 --- a/web/src/js/components/FlowTable/FlowColumns.tsx +++ b/web/src/js/components/FlowTable/FlowColumns.tsx @@ -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) {