fix claimHasSource selector
This commit is contained in:
parent
86c7741d4c
commit
5416b6bc42
2 changed files with 2 additions and 2 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -2681,7 +2681,7 @@ const makeSelectClaimHasSource = uri => reselect.createSelector(makeSelectClaimF
|
|||
return false;
|
||||
}
|
||||
|
||||
return Boolean(claim.value.source);
|
||||
return Boolean(claim.value.source && claim.value_type === 'stream');
|
||||
});
|
||||
|
||||
const makeSelectTotalStakedAmountForChannelUri = uri => reselect.createSelector(makeSelectClaimForUri(uri), claim => {
|
||||
|
|
|
@ -867,7 +867,7 @@ export const makeSelectClaimHasSource = (uri: string) =>
|
|||
return false;
|
||||
}
|
||||
|
||||
return Boolean(claim.value.source);
|
||||
return Boolean(claim.value.source && claim.value_type === 'stream');
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue