Flask-MonitoringDashboard icon indicating copy to clipboard operation
Flask-MonitoringDashboard copied to clipboard

two menu buttons activated simultaneously

Open eosfomogame opened this issue 4 years ago • 1 comments

Describe the bug It's a secondary bug not really important, two buttons activated simultaneously on the left menu.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'yoursite/dashboard/api_performance'
  2. See both buttons: "API performance and Reporting are active"

eosfomogame avatar May 12 '20 12:05 eosfomogame

Hey @eosfomogame

Thanks for noticing this issue. It is indeed a bug in this file: https://github.com/flask-dashboard/Flask-MonitoringDashboard/blob/master/flask_monitoringdashboard/static/elements/menu.html

Take a look at the lines 17 and 19, and feel free to fix this, and submit a PR.

Thanks in advance,

Patrick

FlyingBird95 avatar May 12 '20 12:05 FlyingBird95