Including grav out of date as part of the equation

This commit is contained in:
Djamil Legato
2014-12-19 16:32:35 -08:00
parent bdb9394334
commit bda4dea9f0

View File

@@ -93,7 +93,7 @@ $(function () {
// dashboard
if ($('.updates-chart').length) {
var missing = resources.total * 100 / installed,
var missing = (resources.total + (grav.isUpdatable ? 1 : 0)) * 100 / (installed + (grav.isUpdatable ? 1 : 0)),
updated = 100 - missing;
UpdatesChart.update({series: [updated, missing]});
}