Prevent clicking in week number label
This commit is contained in:
parent
0fce118ef2
commit
c10c5aae55
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleClick (cell) {
|
handleClick (cell) {
|
||||||
if (cell.disabled) return;
|
if (cell.disabled || cell.type === 'weekLabel') return;
|
||||||
const newDate = new Date(clearHours(cell.date));
|
const newDate = new Date(clearHours(cell.date));
|
||||||
|
|
||||||
this.$emit('on-pick', newDate);
|
this.$emit('on-pick', newDate);
|
||||||
|
|
Loading…
Add table
Reference in a new issue