Fix location field not showing in preferences if setting not set
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
63740eb67f
commit
c8e39313ef
@ -59,9 +59,7 @@
|
|||||||
<b-field grouped>
|
<b-field grouped>
|
||||||
<b-field :label="$t('City or region')" expanded>
|
<b-field :label="$t('City or region')" expanded>
|
||||||
<address-auto-complete
|
<address-auto-complete
|
||||||
v-if="
|
v-if="loggedUser && loggedUser.settings"
|
||||||
loggedUser && loggedUser.settings && loggedUser.settings.location
|
|
||||||
"
|
|
||||||
:type="AddressSearchType.ADMINISTRATIVE"
|
:type="AddressSearchType.ADMINISTRATIVE"
|
||||||
:doGeoLocation="false"
|
:doGeoLocation="false"
|
||||||
v-model="address"
|
v-model="address"
|
||||||
|
Loading…
Reference in New Issue
Block a user