mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-02-23 15:11:25 +01:00
Dashboard Charts now always refresh no matter what (fixes #753)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
12
themes/grav/js/admin.min.js
vendored
12
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user