void;
members: object[];
clearCurrentSession: () => void;
}) {
- React.useEffect(() => {
- clearCurrentSession()
- }, [])
return (
@@ -36,5 +31,4 @@ export default connect(
// @ts-ignore
members: state.getIn(['members', 'list']),
}),
- { clearCurrentSession }
)(SessionListContainer);
diff --git a/frontend/app/components/shared/SessionListContainer/components/SessionTags/SessionTags.tsx b/frontend/app/components/shared/SessionListContainer/components/SessionTags/SessionTags.tsx
index b8eb23d1e..aa35b48f9 100644
--- a/frontend/app/components/shared/SessionListContainer/components/SessionTags/SessionTags.tsx
+++ b/frontend/app/components/shared/SessionListContainer/components/SessionTags/SessionTags.tsx
@@ -38,7 +38,7 @@ export default connect(
const isEnterprise = state.getIn(['user', 'account', 'edition']) === 'ee';
return {
activeTab: state.getIn(['search', 'activeTab']),
- tags: issues_types.filter((tag: any) => (isEnterprise ? tag.type !== 'bookmark' : tag.type !== 'vault')),
+ tags: issues_types.filter((tag: any) => tag.type !== 'mouse_thrashing' && (isEnterprise ? tag.type !== 'bookmark' : tag.type !== 'vault')),
total: state.getIn(['sessions', 'total']) || 0,
};
},