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.
2 parents 5c905e5 + 9671cee commit efa4367Copy full SHA for efa4367
site/frontend/src/pages/compare/compile/table/benchmark-detail.vue
@@ -227,7 +227,9 @@ 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
231
+ ? daysBetweenDates(new Date(start), new Date(end))
232
+ : DAY_RANGE;
233
const msg = `${days} day history`;
234
if (date !== null) {
235
return `${msg} (${start} → ${end})`;
0 commit comments