applyChanges, if DatePane or not

This commit is contained in:
Mathieu Jaumotte 2021-09-20 12:26:17 +02:00
parent 75a240a2d6
commit 690f649dd1

View File

@ -378,12 +378,12 @@ export default {
}
},
closeEditPane() {
this.applyChanges();
this.flag.editPane = false;
console.log('step2: close the Edit Panel');
if (!this.context.edit && this.useDatePane) {
this.openDatePane();
} else {
this.applyChanges();
if (!this.options.forceRedirect) {
this.openShowPane();
}
@ -394,6 +394,7 @@ export default {
console.log('step3: open the Date Panel');
},
closeDatePane() {
this.applyChanges();
this.flag.datePane = false;
console.log('step3: close the Date Panel');
},