Skip to content

Commit

Permalink
fix(netsted-tab): remove code of disable nested tab
Browse files Browse the repository at this point in the history
  • Loading branch information
prosdev0107 committed Mar 3, 2022
1 parent cfd99b7 commit bd0f26b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions superset-frontend/src/dashboard/util/getDropPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ export default function getDropPosition(monitor, Component) {
return null;
}

// TODO need a better solution to prevent nested tabs
// if (
// draggingItem.type === TABS_TYPE &&
// component.type === TAB_TYPE &&
// componentDepth === 2
// ) {
// return null;
// }

const validChild = isValidChild({
parentType: component.type,
parentDepth: componentDepth,
Expand Down

0 comments on commit bd0f26b

Please sign in to comment.