Skip to content

Commit beac757

Browse files
committed
Fix ipsec column considered as IP (#870)
1 parent e7fcc72 commit beac757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/utils/columns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export const getDefaultColumns = (columnDefs: ColumnConfigDef[], fieldConfigs: F
260260
}
261261
return compareNumbers(valA, valB);
262262
} else if (typeof valA === 'string' && typeof valB === 'string') {
263-
if (col.id.includes('IP')) {
263+
if (col.id.includes('IP') && !col.id.includes('IPSec')) {
264264
return compareIPs(valA, valB);
265265
}
266266
return compareStrings(valA, valB);

0 commit comments

Comments
 (0)