fix geolocation-countrycodes were disabled, fix admin/places use of current geocoding provider

This commit is contained in:
sedum
2022-12-06 01:28:42 +01:00
parent 9682b3e957
commit 84e6795e4e
2 changed files with 50 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ v-card
persistent-hint
:placeholder="geocoding_provider_default")
v-autocomplete.mb-6(v-model="geocoding_countrycodes" :disabled="geocoding_provider_type != null || geocoding_provider_type != 'Nominatim'"
v-autocomplete.mb-6(v-model="geocoding_countrycodes" :disabled="!(geocoding_provider_type === null || geocoding_provider_type === 'Nominatim')"
@blur="save('geocoding_countrycodes', geocoding_countrycodes )"
:label="$t('admin.geocoding_countrycodes')"
:items="countries"