Skip to content

Commit df05878

Browse files
committed
🙈
1 parent f564ec2 commit df05878

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/containers/Fold.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Fold extends Component {
4848
// except for Folds of Folds, which should keep their visibility rules
4949
if (
5050
child.type.plotly_editor_traits &&
51-
!child.type.plotly_editor_traits.is_fold
51+
!child.type.plotly_editor_traits.foldable
5252
) {
5353
this.foldVisible = true;
5454
return;
@@ -166,8 +166,4 @@ Fold.contextTypes = Object.assign(
166166
containerConnectedContextTypes
167167
);
168168

169-
Fold.plotly_editor_traits = {
170-
is_fold: true,
171-
};
172-
173169
export default localize(Fold);

0 commit comments

Comments
 (0)