💄 Show the selected country in policy access rules country is not rule match

This commit is contained in:
Fred KISSIE
2026-06-27 02:12:09 +02:00
parent 697be01411
commit 6c2a8bf6de
@@ -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(