fix: add explore control tabOverride at the section level (#9495)
This commit is contained in:
parent
36cd5411d0
commit
5565895819
|
|
@ -198,7 +198,10 @@ class ControlPanelsContainer extends React.Component {
|
|||
const querySectionsToRender = [];
|
||||
const displaySectionsToRender = [];
|
||||
allSectionsToRender.forEach(section => {
|
||||
// if at least one control in the secion is not `renderTrigger`
|
||||
// or asks to be displayed at the Data tab
|
||||
if (
|
||||
section.tabOverride === 'data' ||
|
||||
section.controlSetRows.some(rows =>
|
||||
rows.some(
|
||||
control =>
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ export default {
|
|||
},
|
||||
{
|
||||
label: t('Options'),
|
||||
tabOverride: 'data',
|
||||
expanded: true,
|
||||
controlSetRows: [
|
||||
[
|
||||
|
|
|
|||
Loading…
Reference in New Issue