We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c905e5 commit 7e8015cCopy full SHA for 7e8015c
site/frontend/src/pages/compare/compile/table/benchmark-detail.vue
@@ -227,7 +227,7 @@ async function renderGraph(
227
228
function getGraphTitle() {
229
const {start, end, date} = graphRange.value;
230
- const days = daysBetweenDates(new Date(start), new Date(end));
+ const days = date ? daysBetweenDates(new Date(start), new Date(end)): DAY_RANGE;
231
const msg = `${days} day history`;
232
if (date !== null) {
233
return `${msg} (${start} → ${end})`;
0 commit comments