Fix date/time panel toggle

This commit is contained in:
Sergio Crisostomo 2018-01-24 11:19:43 +01:00
parent 283b90aa38
commit 71b68751f8

View file

@ -55,7 +55,7 @@ export default {
}, },
methods: { methods: {
handleToggleTime(){ handleToggleTime(){
this.currentView = this.currentView === 'time' ? this.selectionMode : 'time'; this.currentView = this.currentView === 'time' ? 'date' : 'time';
}, },
} }
}; };