From 84fb36841a030447e08ef2d583684cd0a573b4b2 Mon Sep 17 00:00:00 2001
From: Sean Yesmunt <sean@lbry.io>
Date: Mon, 18 Nov 2019 14:00:03 -0500
Subject: [PATCH] add channel item count for canonical url as well as vanity
 url

---
 dist/bundle.es.js            | 1 +
 src/redux/reducers/claims.js | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dist/bundle.es.js b/dist/bundle.es.js
index 3213ff2..4c1dfa7 100644
--- a/dist/bundle.es.js
+++ b/dist/bundle.es.js
@@ -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) {
diff --git a/src/redux/reducers/claims.js b/src/redux/reducers/claims.js
index f828645..5663657 100644
--- a/src/redux/reducers/claims.js
+++ b/src/redux/reducers/claims.js
@@ -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) {
-- 
2.49.1