mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
when creating new address, start first with edit panel
This commit is contained in:
parent
9f3ceb94f0
commit
6c0ab6f25e
@ -203,7 +203,6 @@ export default {
|
||||
}
|
||||
return step2;
|
||||
},
|
||||
|
||||
getTextTitle() {
|
||||
if (this.options.title) {
|
||||
return (this.context.edit) ? this.options.title.edit : this.options.title.create;
|
||||
@ -242,7 +241,16 @@ export default {
|
||||
if (this.context.addressId) {
|
||||
this.getInitialAddress(this.context.addressId);
|
||||
}
|
||||
this.flag.showPane = true;
|
||||
// when create new address, start first with editPane
|
||||
if ( this.context.edit === false
|
||||
&& this.flag.editPane === false
|
||||
) {
|
||||
this.openEditPane();
|
||||
this.flag.editPane = true;
|
||||
|
||||
} else {
|
||||
this.flag.showPane = true;
|
||||
}
|
||||
},
|
||||
|
||||
openEditPane() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user