Skip to content

Commit

Permalink
Datetime input, default-view bug (#1946)
Browse files Browse the repository at this point in the history
* testing

* fixed
  • Loading branch information
Morgosh authored and rstoenescu committed Apr 17, 2018
1 parent 7f7cd60 commit f73dea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/datetime/QDatetime.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default {
}
if (__THEME__ === 'mat') {
const target = this.$refs.target
if (this.defaultView && target.view !== this.defaultView) {
if (this.defaultView) {
target.setView(this.defaultView)
}
else {
Expand Down

0 comments on commit f73dea2

Please sign in to comment.