Dashboard Charts now always refresh no matter what (fixes #753)

This commit is contained in:
Djamil Legato
2016-10-24 12:12:08 -07:00
parent 61982c7da2
commit 8bd7f8d666
3 changed files with 10 additions and 6 deletions

View File

@@ -3,6 +3,7 @@
1. [](#bugfix)
* Editor link button doesn't prefix links with `http://` anymore [#813](https://github.com/getgrav/grav-plugin-admin/issues/813)
* Dashboard Charts now always refresh no matter what [#753](https://github.com/getgrav/grav-plugin-admin/issues/753)
# v1.2.4
## 10/22/2016

View File

@@ -27,6 +27,9 @@ KeepAlive.start();
global.setInterval(() => {
contentScrollbar.update();
sidebar.scroller.update();
Object.keys(Dashboard.Chart.Instances).forEach((chart) => {
Dashboard.Chart.Instances[chart].chart.update();
});
}, 150);
// global event to catch sidebar_state changes

File diff suppressed because one or more lines are too long