Fixed #1071 - Calendar showOtherMonths = false does not hide neighbour months
parent
a0b78568db
commit
79421cd6f5
|
@ -548,12 +548,16 @@ export default {
|
|||
this.overlay = null;
|
||||
},
|
||||
onPrevButtonClick(event) {
|
||||
this.navigationState = {backward: true, button: true};
|
||||
this.navBackward(event);
|
||||
if(this.showOtherMonths) {
|
||||
this.navigationState = {backward: true, button: true};
|
||||
this.navBackward(event);
|
||||
}
|
||||
},
|
||||
onNextButtonClick(event) {
|
||||
this.navigationState = {backward: false, button: true};
|
||||
this.navForward(event);
|
||||
if(this.showOtherMonths) {
|
||||
this.navigationState = {backward: false, button: true};
|
||||
this.navForward(event);
|
||||
}
|
||||
},
|
||||
navBackward(event) {
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Reference in New Issue