Commit 71b68751f811d6ca7da29a3674adf57dfdba8f87
1 parent
283b90aa
Fix date/time panel toggle
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/date-picker/panel/Date/date-panel-mixin.js
@@ -55,7 +55,7 @@ export default { | @@ -55,7 +55,7 @@ export default { | ||
55 | }, | 55 | }, |
56 | methods: { | 56 | methods: { |
57 | handleToggleTime(){ | 57 | handleToggleTime(){ |
58 | - this.currentView = this.currentView === 'time' ? this.selectionMode : 'time'; | 58 | + this.currentView = this.currentView === 'time' ? 'date' : 'time'; |
59 | }, | 59 | }, |
60 | } | 60 | } |
61 | }; | 61 | }; |