InternetHealthReport / ihr-website

Vue.js code for IHR website
https://ihr.iijlab.net/ihr/en
GNU General Public License v3.0
65 stars 122 forks source link

Don't run metadata query unless the user click on metadata tab #803

Closed romain-fontugne closed 5 months ago

romain-fontugne commented 5 months ago

Is your feature request related to a problem? Please describe. In reports pages (network, country, prefix, etc..) the loading wheel is spinning even though the 'chart' is loaded. This happens because we are running the query for the 'metadata' tab in the background. I think we don't need to run the metadata query unless the user click on the metadata tab.

Describe the solution you'd like Run the IYP query for the metadata only if the user click on the metadata tab.