nft tables api pretty text
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s

This commit is contained in:
2026-02-28 22:04:13 +01:00
parent 90da926415
commit 5930794a4e
2 changed files with 271 additions and 170 deletions

View File

@@ -350,7 +350,7 @@ export default function FirewallTables({ tables, error, refreshRules: refresh }:
},
{
title: 'Rule',
dataIndex: 'raw',
dataIndex: 'frontendParsed',
render: (v) => <Paragraph ellipsis={{ rows: 2, expandable: false }}>{v}</Paragraph>,
},
{
@@ -377,7 +377,8 @@ export default function FirewallTables({ tables, error, refreshRules: refresh }:
key: `${chain.name}:${idx}`,
idx: idx + 1,
handle: r.handle ?? null,
raw: renderRuleFriendly(r),
frontendParsed: renderRuleFriendly(r),
backendtext: r.text,
}));
return (