Skip to content

Commit

Permalink
fix: fixed timeline default duration when none explicitly set
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Jan 6, 2021
1 parent b30b970 commit 0d66712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Timeline.vue
Expand Up @@ -27,7 +27,7 @@ export default {
return {
buckets: null,
daterange: null,
timeintervalDefaultDuration: Number.parseInt(localStorage.durationDefault),
timeintervalDefaultDuration: Number.parseInt(localStorage.durationDefault) || 60 * 60,
maxDuration: 31 * 24 * 60 * 60,
};
},
Expand Down

0 comments on commit 0d66712

Please sign in to comment.