fix(trading): hide download or export all when no entries (#3892)

This commit is contained in:
m.ray 2023-05-23 12:26:47 +03:00 committed by GitHub
parent 7a06c946d1
commit 3208f762fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 (