DocViewer always renders first tab ignoring shouldShow #19827
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Discover
Discover Application
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Every
docView
can implement ashouldShow
method, to tell if it should be visible for a specific document or not. Unfortunatelydoc_viewer.js
will always set the first tab in order as active, without checking if it is actually visible for that document.We need to fix this, and maybe switch to regular templating in that directive instead of doing manual templating via a function in case there is no reason for that anymore.
The text was updated successfully, but these errors were encountered: