detect no channels or tags
This commit is contained in:
parent
1267eeb0d1
commit
929b00aefa
1 changed files with 4 additions and 1 deletions
|
@ -106,7 +106,10 @@ function ClaimListDiscover(props: Props) {
|
|||
.unix()
|
||||
)}`;
|
||||
}
|
||||
|
||||
const hasContent =
|
||||
(personalSort === SEARCH_SORT_CHANNELS && subscribedChannels.length) ||
|
||||
(personalSort === SEARCH_SORT_YOU && !!tags.length);
|
||||
console.log('has content', String(hasContent));
|
||||
const claimSearchCacheQuery = createNormalizedClaimSearchKey(options);
|
||||
const uris = claimSearchByQuery[claimSearchCacheQuery] || [];
|
||||
const shouldPerformSearch =
|
||||
|
|
Loading…
Add table
Reference in a new issue