mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
Including grav out of date as part of the equation
This commit is contained in:
@@ -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]});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user