fix more precise condition

This commit is contained in:
Mathieu Jaumotte 2021-08-08 12:28:54 +02:00
parent 1c7e1b55f8
commit 21957846b0

View File

@ -237,9 +237,11 @@ export default {
*/
openShowPane() {
console.log('open the Show Panel');
if (this.context.addressId) {
if (this.context.edit) {
this.getInitialAddress(this.context.addressId);
}
// when create new address, start first with editPane
if ( this.context.edit === false
&& this.flag.editPane === false