CSV Export Button should not be visible when the instance level dashboard is not configured
Steps to reproduce
- Find
Moreat the top level navigation and click on that - Click on Security Dashboard
- Make sure it's unconfigured (if it's configured, click on edit dashboard and remove all associated projects).
Expected The CSV Export button is not available.
Implementation plan
-
Add a simple ifstatement to thecsv-export-buttoninee/app/assets/javascripts/security_dashboard/components/first_class_instance_security_dashboard.vue. IfshouldShowEmptyStateis true, we shouldn't display the button.
