Fix of bugs
This commit is contained in:
@@ -124,5 +124,6 @@
|
|||||||
"referenceerror: currencycountryrate is not defined": "ReferenceError: currencyCountryRate is not defined",
|
"referenceerror: currencycountryrate is not defined": "ReferenceError: currencyCountryRate is not defined",
|
||||||
"referenceerror: ccountry is not defined": "ReferenceError: ccountry is not defined",
|
"referenceerror: ccountry is not defined": "ReferenceError: ccountry is not defined",
|
||||||
"typeerror: invalid assignment to const 'response'": "TypeError: invalid assignment to const 'response'",
|
"typeerror: invalid assignment to const 'response'": "TypeError: invalid assignment to const 'response'",
|
||||||
"error: request aborted": "Error: Request aborted"
|
"error: request aborted": "Error: Request aborted",
|
||||||
|
"typeerror: can't access property \"code\", form.country is null": "TypeError: can't access property \"code\", form.country is null"
|
||||||
}
|
}
|
||||||
BIN
resources/js/.DS_Store
vendored
Normal file
BIN
resources/js/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -346,9 +346,12 @@ function selectCountry(item, id) {
|
|||||||
let cCntry = [["Country"]];
|
let cCntry = [["Country"]];
|
||||||
console.log(form.countries);
|
console.log(form.countries);
|
||||||
let aCntry = form.countries.map((country) => [country]);
|
let aCntry = form.countries.map((country) => [country]);
|
||||||
|
if (form.countries.length == 0) aCntry = ccountry.value.map((country) => [country.country_name]);
|
||||||
|
|
||||||
ccountry_filter.value = cCntry;
|
ccountry_filter.value = cCntry;
|
||||||
ccountry_filter.value.push(...aCntry);
|
ccountry_filter.value.push(...aCntry);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(fetch);
|
onMounted(fetch);
|
||||||
@@ -537,7 +540,7 @@ watch(ccodes, (codes) => {
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div class="mt-5">
|
<div class="mt-5">
|
||||||
<input v-if="showDescLongFilter" placeholder="Search in Long Desc" class="mb-1 px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:ring w-full" type="text" v-model="searchValue">
|
<input v-if="showDescLongFilter" placeholder="Search in long description" class="mb-1 px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:ring w-full" type="text" v-model="searchValue">
|
||||||
<EasyTable
|
<EasyTable
|
||||||
class="none"
|
class="none"
|
||||||
:rows-per-page="20"
|
:rows-per-page="20"
|
||||||
|
|||||||
Reference in New Issue
Block a user