add channel item count for canonical url as well as vanity url #244

Merged
neb-b merged 1 commit from channelCountFix into master 2019-11-18 20:00:52 +01:00
2 changed files with 2 additions and 0 deletions

1
dist/bundle.es.js vendored
View file

@ -4016,6 +4016,7 @@ function handleClaimAction(state, action) {
const { claimsInChannel, stream, channel } = resolveResponse;
if (claimsInChannel) {
channelClaimCounts[url] = claimsInChannel;
channelClaimCounts[channel.canonical_url] = claimsInChannel;
}
if (stream) {

View file

@ -85,6 +85,7 @@ function handleClaimAction(state: State, action: any): State {
const { claimsInChannel, stream, channel } = resolveResponse;
if (claimsInChannel) {
channelClaimCounts[url] = claimsInChannel;
channelClaimCounts[channel.canonical_url] = claimsInChannel;
}
if (stream) {