Skip to content

Commit

Permalink
[BUG][Modules][Reports] Error when generating a report after changing…
Browse files Browse the repository at this point in the history
… the selected agent (#4240)

* fix(modules): fixed an error when changing the selected agent and generates a module report.

This problem was caused because the VisHandlers singleton contains the
visualization handlers that are used to get data of the filters applied
and sent to the plugin endpoint. The visualization handlers were removed
of the VisHandlers singleton when changing the selected agent. Due the
dahasboard is not recreated, the visualizations are not added again,
causing that when generating the report, it can't get the applied
filters of the visualizations handlers because the list was empty.

* changelog: add PR entry

* Update wz-visualize.js

Co-authored-by: Álex <[email protected]>
  • Loading branch information
Desvelao and AlexRuiz7 authored Jun 13, 2022
1 parent 921aefc commit dc60490
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit dc60490

Please sign in to comment.