mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
overriding annotation and layers' control tab (#4609)
This commit is contained in:
committed by
Chris Williams
parent
95a9b046f8
commit
3371c8bd5c
@@ -92,8 +92,13 @@ class ControlPanelsContainer extends React.Component {
|
||||
const displaySectionsToRender = [];
|
||||
allSectionsToRender.forEach((section) => {
|
||||
if (section.controlSetRows.some(rows => rows.some(
|
||||
control => controls[control] && !controls[control].renderTrigger,
|
||||
))) {
|
||||
control => (
|
||||
controls[control] &&
|
||||
(
|
||||
!controls[control].renderTrigger ||
|
||||
controls[control].tabOverride === 'data'
|
||||
)
|
||||
)))) {
|
||||
querySectionsToRender.push(section);
|
||||
} else {
|
||||
displaySectionsToRender.push(section);
|
||||
|
||||
Reference in New Issue
Block a user