Make channel pages work again

This commit is contained in:
6ea86b96 2017-06-06 11:44:23 +07:00
parent 72137f51d2
commit 732c9c3bd3

View file

@ -13,6 +13,9 @@ reducers[types.RESOLVE_URI_COMPLETED] = function(state, action) {
if (claim) { if (claim) {
byId[claim.claim_id] = claim; byId[claim.claim_id] = claim;
byUri[uri] = claim.claim_id; byUri[uri] = claim.claim_id;
} else if (claim === undefined && certificate !== undefined) {
byId[certificate.claim_id] = certificate;
byUri[uri] = certificate.claim_id;
} else { } else {
byUri[uri] = null; byUri[uri] = null;
} }