Compare commits

..

No commits in common. "fcd8447658c45a90ed455ebff78df3113b9730e8" and "4708e5e0eb40fd22601a2c23083c641ff1bb5a0d" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -53,8 +53,8 @@
}
function timeshift_month(date, diff) {
var month = date.getMonth() + diff, month_mod12 = month%12;
return new Date(date.getFullYear() + Math.floor(month/12), month_mod12 >= 0 ? (month_mod12) : (month_mod12 + 12), date.getDate());
var month = date.getMonth() + diff;
return new Date(date.getFullYear() + Math.floor(month/12), month >= 0 ? (month%12) : (month%12 + 12), date.getDate());
}
function datecalc(date, range, direction) {

View File

@ -226,7 +226,7 @@
},
watch: {
async resultset(value) {
this.$nextTick(() => (this.$refs.headers) && (this.$refs.headers.length > 0) ? this.$refs.headers[this.$refs.headers.length - 1].scrollIntoView({ block: 'nearest', inline: 'end' }) : null);
this.$nextTick(() => this.$refs.headers ? this.$refs.headers.scrollIntoView({ block: 'nearest', inline: 'end' }) : null);
}
},
methods: {