add channel item count for canonical url as well as vanity url #244
2 changed files with 2 additions and 0 deletions
1
dist/bundle.es.js
vendored
1
dist/bundle.es.js
vendored
|
@ -4016,6 +4016,7 @@ function handleClaimAction(state, action) {
|
||||||
const { claimsInChannel, stream, channel } = resolveResponse;
|
const { claimsInChannel, stream, channel } = resolveResponse;
|
||||||
if (claimsInChannel) {
|
if (claimsInChannel) {
|
||||||
channelClaimCounts[url] = claimsInChannel;
|
channelClaimCounts[url] = claimsInChannel;
|
||||||
|
channelClaimCounts[channel.canonical_url] = claimsInChannel;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stream) {
|
if (stream) {
|
||||||
|
|
|
@ -85,6 +85,7 @@ function handleClaimAction(state: State, action: any): State {
|
||||||
const { claimsInChannel, stream, channel } = resolveResponse;
|
const { claimsInChannel, stream, channel } = resolveResponse;
|
||||||
if (claimsInChannel) {
|
if (claimsInChannel) {
|
||||||
channelClaimCounts[url] = claimsInChannel;
|
channelClaimCounts[url] = claimsInChannel;
|
||||||
|
channelClaimCounts[channel.canonical_url] = claimsInChannel;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stream) {
|
if (stream) {
|
||||||
|
|
Loading…
Reference in a new issue