fix: update the apply filter

This commit is contained in:
Madalina Raicu 2024-02-28 13:13:38 +00:00
parent f4693e3e61
commit dee26f83e8
No known key found for this signature in database
GPG Key ID: 688B7B31149C1DCD

View File

@ -94,6 +94,15 @@ export const applyFilter = (
) {
return true;
}
// if the transfer is a staking reward then it should be displayed
if (
!transfer.kind.dispatchStrategy &&
transfer.toAccountType === AccountType.ACCOUNT_TYPE_GLOBAL_REWARD
) {
return true;
}
return false;
};