diff --git a/src/client/FlagInputModal.ts b/src/client/FlagInputModal.ts index 86e413677d..996da10285 100644 --- a/src/client/FlagInputModal.ts +++ b/src/client/FlagInputModal.ts @@ -29,9 +29,7 @@ export class FlagInputModal extends LitElement { class="flex flex-wrap justify-evenly gap-[1rem] overflow-y-auto overflow-x-hidden h-[90%]" > ${Countries.filter( - (country) => - country.name.toLowerCase().includes(this.search.toLowerCase()) || - country.code.toLowerCase().includes(this.search.toLowerCase()), + (country) => !country.restricted && this.includedInSearch(country), ).map( (country) => html`