Skip to content

Commit 05e3e0b

Browse files
authored
fix(sidebar): show profiler collections COMPASS-9377 (#6930)
COMPASS-9377: show profiler collections
1 parent d3e74db commit 05e3e0b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/collection-model/lib/model.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,10 @@ const CollectionCollection = AmpersandCollection.extend(
404404
// filtering, but for now this preserves the current behavior
405405
// and changing it right away will expand the scope of the
406406
// refactor significantly. We can address this in COMPASS-5211
407-
return getNamespaceInfo(coll._id).system === false;
407+
return (
408+
getNamespaceInfo(coll._id).system === false ||
409+
getNamespaceInfo(coll._id).collection === 'system.profile'
410+
);
408411
})
409412
.map(({ _id, ...rest }) => {
410413
return {

0 commit comments

Comments
 (0)