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 502033c commit dbdb211Copy full SHA for dbdb211
client/modules/IDE/components/AddToCollectionSketchList.jsx
@@ -52,8 +52,9 @@ class SketchList extends React.Component {
52
};
53
54
inCollection = (sketch) =>
55
- this.props.collection.items.find((item) => item.project.id === sketch.id) !=
56
- null;
+ this.props.collection.items.find((item) =>
+ item.isDeleted ? false : item.project.id === sketch.id
57
+ ) != null;
58
59
render() {
60
const hasSketches = this.props.sketches.length > 0;
0 commit comments