fix for #517, I think
This commit is contained in:
parent
b9d3f024d9
commit
f12e3551e2
1 changed files with 5 additions and 1 deletions
|
@ -35,7 +35,11 @@ export function doFetchCostInfoForUri(uri) {
|
||||||
|
|
||||||
if (isGenerous && claim) {
|
if (isGenerous && claim) {
|
||||||
let cost;
|
let cost;
|
||||||
const fee = claim.value.stream.metadata.fee;
|
const fee = claim.value &&
|
||||||
|
claim.value.stream &&
|
||||||
|
claim.value.stream.metadata
|
||||||
|
? claim.value.stream.metadata.fee
|
||||||
|
: undefined;
|
||||||
if (fee === undefined) {
|
if (fee === undefined) {
|
||||||
resolve({ cost: 0, includesData: true });
|
resolve({ cost: 0, includesData: true });
|
||||||
} else if (fee.currency == "LBC") {
|
} else if (fee.currency == "LBC") {
|
||||||
|
|
Loading…
Reference in a new issue