address: better default zoom when choosing an address

This commit is contained in:
nobohan
2021-06-11 14:42:08 +02:00
parent 1b709d39a4
commit f22461af1b
2 changed files with 1 additions and 3 deletions

View File

@@ -40,10 +40,8 @@ const store = createStore({
if('newPostalCode' in payload){
postPostalCode(payload.newPostalCode)
.then(postalCode => {
console.log(postalCode);
let body = payload;
body.postcode = {'id': postalCode.id },
console.log(body);
postAddress(body)
.then(address => new Promise((resolve, reject) => {
commit('addAddress', address);