mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-08 15:14:52 +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 }) => {
|
||||
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(
|
||||
|
||||
Reference in New Issue
Block a user