Fix search, remove, add countries

This commit is contained in:
2023-12-25 21:45:08 +01:00
parent 4375ac1fc8
commit 82c9971289
4 changed files with 43 additions and 14 deletions

View File

@@ -156,7 +156,8 @@ const items = ref([]);
function selectCountry(item, id) {
let cCntry = [['Country'],];
let aCntry = selected.value.map((country) => [country]);
console.log(form.countries);
let aCntry = form.countries.map((country) => [country]);
ccountry_filter.value = cCntry;
ccountry_filter.value.push(...aCntry);