We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df05878 commit efce3abCopy full SHA for efce3ab
src/components/containers/Fold.js
@@ -47,8 +47,9 @@ class Fold extends Component {
47
// allow custom components in folds to automatically show up,
48
// except for Folds of Folds, which should keep their visibility rules
49
if (
50
- child.type.plotly_editor_traits &&
51
- !child.type.plotly_editor_traits.foldable
+ !child.type.plotly_editor_traits ||
+ (child.type.plotly_editor_traits &&
52
+ !child.type.plotly_editor_traits.foldable)
53
) {
54
this.foldVisible = true;
55
return;
0 commit comments