Skip to content

Commit

Permalink
Merge branch 'release/2.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamDASILVA committed Oct 10, 2019
2 parents c35c54c + 32330a0 commit 0d65d01
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/css/app.7704e930.css → docs/css/app.916963e2.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel=icon href=favicon.ico><title>vue-ctk-date-time-picker</title><link href=css/app.7704e930.css rel=preload as=style><link href=js/app.8d1ac218.js rel=preload as=script><link href=js/chunk-vendors.c0d9cd47.js rel=preload as=script><link href=css/app.7704e930.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-ctk-date-time-picker doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.c0d9cd47.js></script><script src=js/app.8d1ac218.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel=icon href=favicon.ico><title>vue-ctk-date-time-picker</title><link href=css/app.916963e2.css rel=preload as=style><link href=js/app.f4fb2928.js rel=preload as=script><link href=js/chunk-vendors.c0d9cd47.js rel=preload as=script><link href=css/app.916963e2.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-ctk-date-time-picker doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.c0d9cd47.js></script><script src=js/app.f4fb2928.js></script></body></html>
2 changes: 0 additions & 2 deletions docs/js/app.8d1ac218.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/js/app.8d1ac218.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions docs/js/app.f4fb2928.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/js/app.f4fb2928.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-ctk-date-time-picker",
"version": "2.3.0",
"version": "2.3.1",
"description": "A vue component for select date & time (by Chronotruck)",
"author": "Louis Mazel <[email protected]>",
"scripts": {
Expand Down Expand Up @@ -69,7 +69,7 @@
"dist/",
"nuxt/"
],
"homepage": "https://chronotruck.github.io/vue-ctk-date-time-picker",
"homepage": "https://github.com/chronotruck/vue-ctk-date-time-picker/releases",
"keywords": [
"vue",
"javascript",
Expand Down
8 changes: 7 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<h1>CtkDatetimePicker</h1>
<h3>A VueJs component for select date & time</h3>
<div
v-if="devMode"
class="container lm-mt-4"
>
<a
Expand All @@ -31,6 +30,13 @@
>
Github
</a>
<a
class="lm-btn lm-btn-dark lm-mr-2"
target="_blank"
href="https://github.com/chronotruck/vue-ctk-date-time-picker/releases"
>
Changelog
</a>
<a
class="lm-btn lm-btn-danger"
target="_blank"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
.map((_, i) => i)
.filter(m => m >= minEnabledMinute && m <= maxEnabledMinute)
if (!enabledMinutes.includes(this.minute)) {
if (!enabledMinutes.includes(this.minute) && this.behaviour && this.behaviour.time && this.behaviour.time.nearestIfDisabled) {
this.minute = enabledMinutes[0] // eslint-disable-line
this.emitValue()
}
Expand Down

0 comments on commit 0d65d01

Please sign in to comment.