get active viewers even when not live (we want waiting count) (#322)

This commit is contained in:
Dan Peterson 2021-11-18 17:41:43 -06:00 committed by GitHub
parent 3269b84385
commit 314b63705d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ const select = (state, props) => {
return { return {
claimId, claimId,
viewCount: selectViewCountForUri(state, props.uri), viewCount: selectViewCountForUri(state, props.uri),
activeViewers: props.livestream && props.isLive && claimId ? selectViewersForId(state, claimId) : undefined, activeViewers: props.livestream && claimId ? selectViewersForId(state, claimId) : undefined,
}; };
}; };