fix blank screen

This commit is contained in:
kandrusyak
2022-11-27 02:51:35 +03:00
parent a555d18417
commit 0927c0dca5

View File

@@ -369,29 +369,31 @@ class Store {
} }
get transactionsInfo() { get transactionsInfo() {
return this._transactionsInfo.map((item) => { return this._transactionsInfo
return { .filter((e) => e.moduleID === 1001)
id: item.id, .map((item) => {
sender_avatar: return {
item.asset.recipientAddress && id: item.id,
generateSvgAvatar(item.senderPublicKey), sender_avatar:
avatar_size: 24, item.asset.recipientAddress &&
transaction: item.asset.features.map((asset) => { generateSvgAvatar(item.senderPublicKey),
return { avatar_size: 24,
transaction_id: item.id, transaction: item.asset.features.map((asset) => {
address: return {
item.asset.recipientAddress && transaction_id: item.id,
cryptography.bufferToHex( address:
cryptography.getAddressFromPublicKey( item.asset.recipientAddress &&
cryptography.hexToBuffer(item.senderPublicKey) cryptography.bufferToHex(
) cryptography.getAddressFromPublicKey(
), cryptography.hexToBuffer(item.senderPublicKey)
value: asset.value, )
label: labelMap[asset.label] || asset.label, ),
}; value: asset.value,
}), label: labelMap[asset.label] || asset.label,
}; };
}); }),
};
});
} }
get decryptedAccountData() { get decryptedAccountData() {
return decryptedData( return decryptedData(