Skip to content

Commit 68980b4

Browse files
committed
Merge remote-tracking branch 'origin/refactor/dropdown' into refactor/dropdown
# Conflicts: # client/components/Dropdown/DropdownMenu.jsx # client/components/Dropdown/TableDropdown.jsx # client/modules/IDE/components/CollectionList/CollectionListRow.jsx # client/modules/IDE/components/__snapshots__/SketchList.unit.test.jsx.snap
2 parents c9cca4a + 3980be0 commit 68980b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/modules/IDE/components/CollectionList/CollectionListRow.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ const formatDateCell = (date, mobile = false) =>
1616
dates.format(date, { showTime: !mobile });
1717

1818
class CollectionListRowBase extends React.Component {
19+
static projectInCollection(project, collection) {
20+
return (
21+
collection.items.find((item) => item.project.id === project.id) != null
22+
);
23+
}
24+
1925
constructor(props) {
2026
super(props);
2127
this.state = {

0 commit comments

Comments
 (0)