mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-09 17:18:31 +00:00
💄 Show the selected country in policy access rules country is not rule match
This commit is contained in:
parent
697be01411
commit
6c2a8bf6de
1 changed files with 2 additions and 1 deletions
|
|
@ -503,7 +503,8 @@ export function PolicyAccessRulesTable({
|
|||
cell: ({ row }) => {
|
||||
let selectedCountry: (typeof COUNTRIES)[number] | undefined;
|
||||
if (
|
||||
row.original.match === "COUNTRY" &&
|
||||
(row.original.match === "COUNTRY" ||
|
||||
row.original.match === "COUNTRY_IS_NOT") &&
|
||||
row.original.value
|
||||
) {
|
||||
selectedCountry = COUNTRIES.find(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue