mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +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;
|
return step2;
|
||||||
},
|
},
|
||||||
|
|
||||||
getTextTitle() {
|
getTextTitle() {
|
||||||
if (this.options.title) {
|
if (this.options.title) {
|
||||||
return (this.context.edit) ? this.options.title.edit : this.options.title.create;
|
return (this.context.edit) ? this.options.title.edit : this.options.title.create;
|
||||||
@ -242,7 +241,16 @@ export default {
|
|||||||
if (this.context.addressId) {
|
if (this.context.addressId) {
|
||||||
this.getInitialAddress(this.context.addressId);
|
this.getInitialAddress(this.context.addressId);
|
||||||
}
|
}
|
||||||
|
// 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;
|
this.flag.showPane = true;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
openEditPane() {
|
openEditPane() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user