mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-11 00:12:09 +02:00
💄 Show the selected country in policy access rules country is not rule match
This commit is contained in:
@@ -503,7 +503,8 @@ export function PolicyAccessRulesTable({
|
|||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
let selectedCountry: (typeof COUNTRIES)[number] | undefined;
|
let selectedCountry: (typeof COUNTRIES)[number] | undefined;
|
||||||
if (
|
if (
|
||||||
row.original.match === "COUNTRY" &&
|
(row.original.match === "COUNTRY" ||
|
||||||
|
row.original.match === "COUNTRY_IS_NOT") &&
|
||||||
row.original.value
|
row.original.value
|
||||||
) {
|
) {
|
||||||
selectedCountry = COUNTRIES.find(
|
selectedCountry = COUNTRIES.find(
|
||||||
|
|||||||
Reference in New Issue
Block a user