Improved the functionality of enable/disable the auto-collection of
the graph data.
- Dashboard is intereseted only on the current selected object in the
browser tree. And, not the one, which was got disconnected.
- Disable the auto-collection of data selectively, and only when the
selected object got disconnected, and not when changing back to the
Dashboard panel (as per Aditya).
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=5ff2942b4d09106c211fdb09e9abd6803239964b
Modified Files
--------------
web/pgadmin/dashboard/static/js/dashboard.js | 45 ++++++++++++++++++++++------
1 file changed, 36 insertions(+), 9 deletions(-)