fix(trading): hide download or export all when no entries (#3892)
This commit is contained in:
parent
7a06c946d1
commit
3208f762fd
@ -52,7 +52,7 @@ export const LedgerExportLink = ({
|
|||||||
);
|
);
|
||||||
}, [assetId, assets]);
|
}, [assetId, assets]);
|
||||||
|
|
||||||
if (!protohost) {
|
if (!protohost || !entries || entries.length === 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user