nft tables api pretty text
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user