Skip to content

Commit

Permalink
rounding shown query metric
Browse files Browse the repository at this point in the history
  • Loading branch information
thongnt99 committed Mar 12, 2021
1 parent e0feb35 commit fb40b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diffir/templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ <h6 id="Run2Name" style="text-align: center;"></h6>
}
});
$.each(data.queries, function (_, query) {
$('<option>').attr('value', query['fields']['query_id']).attr('data-subtext', query.fields.metric.name+':'+query.fields.metric.value).text(query.fields[queryDisplayField]).appendTo($select);
$('<option>').attr('value', query['fields']['query_id']).attr('data-subtext', query.fields.metric.name+': '+query.fields.metric.value.toFixed(5)).text(query.fields[queryDisplayField]).appendTo($select);
});
$select.change(selectQuery).change();
$(document).on('mouseenter', '.card', onCardEnter);
Expand Down

0 comments on commit fb40b8b

Please sign in to comment.