Allow to remove user location setting

Closes #671

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-04-16 17:18:41 +02:00
parent 30c81ee3a8
commit 1fff71ee0e
4 changed files with 41 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ export default class AddressAutoComplete extends Vue {
}
get queryText(): string {
if (this.value) {
if (this.value !== undefined) {
return new Address(this.value).fullName;
}
return this.initialQueryText;