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 a87d47d commit 4a48b6dCopy full SHA for 4a48b6d
src/projects/actions/projectTopics.js
@@ -87,7 +87,7 @@ const getProjectTopicsWithMember = (dispatch, projectId, tag) => {
87
userIds = _.union(userIds, _.map(topic.posts, 'userId'))
88
})
89
// this is to remove any nulls from the list (dev had some bad data)
90
- _.remove(userIds, i => !i || [DISCOURSE_BOT_USERID, CODER_BOT_USERID].indexOf(i) > -1)
+ _.remove(userIds, i => !i && [DISCOURSE_BOT_USERID, CODER_BOT_USERID].indexOf(i) > -1)
91
// return if there are no userIds to retrieve, empty result set
92
if (!userIds.length)
93
resolve(value)
0 commit comments