Skip to content

Commit 4941452

Browse files
authored
🐛 COMPASS-1328 Backport COMPASS-1297 Quick fix schema tab tooltips and resize minicharts (#1126) (#1127)
This will need to be generalized for the plugin architecture, see COMPASS-1327.
1 parent 53f73bb commit 4941452

File tree

1 file changed

+1
-1
lines changed
  • src/internal-packages/schema/lib/component

1 file changed

+1
-1
lines changed

src/internal-packages/schema/lib/component/schema.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Schema extends React.Component {
3939
// auto-sizes to 0. Therefore, when the user switches back to the tab,
4040
// making it "display:block" again and giving it a proper non-zero size,
4141
// the minicharts have to be re-rendered.
42-
if (this.CollectionStore.getActiveTab() === 0) {
42+
if (this.CollectionStore.getActiveTab() === 1) {
4343
this.props.actions.resizeMiniCharts();
4444
ReactTooltip.rebuild();
4545
}

0 commit comments

Comments
 (0)