Updated E2E
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-03-04 13:54:17 +01:00
parent ae99f98628
commit f168734b8c
1 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ export default class Controller extends Component {
const oldValue = this._province;
this._province = selection;
if (!oldValue) return;
if (!selection || !oldValue) return;
const country = selection.country;
@ -116,7 +116,7 @@ export default class Controller extends Component {
const oldValue = this._town;
this._town = selection;
if (!oldValue) return;
if (!selection || !oldValue) return;
const province = selection.province;
const country = province.country;
@ -138,7 +138,7 @@ export default class Controller extends Component {
const oldValue = this._postcode;
this._postcode = selection;
if (!oldValue) return;
if (!selection || !oldValue) return;
const town = selection.town;
const province = town.province;