-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
πfix(lld): fix export to csv account name #7813
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
4 Skipped Deployments
|
@@ -65,7 +67,10 @@ const fields: Field[] = [ | |||
{ | |||
title: "Account Name", | |||
// FIXME: we need to inject wallet state if we want the actual user's account name | |||
cell: (account, parentAccount) => getDefaultAccountName(getMainAccount(account, parentAccount)), | |||
cell: (account, parentAccount, _op, _counterValueCurrency, _countervalueState, walletState) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this 3 ? _op, _counterValueCurrency, _countervalueState
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because how it's done today if walletState is at the third place it would be the operation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed ^^
a9caf30
to
cdeb11f
Compare
@@ -65,7 +67,10 @@ const fields: Field[] = [ | |||
{ | |||
title: "Account Name", | |||
// FIXME: we need to inject wallet state if we want the actual user's account name | |||
cell: (account, parentAccount) => getDefaultAccountName(getMainAccount(account, parentAccount)), | |||
cell: (account, parentAccount, _op, _counterValueCurrency, _countervalueState, walletState) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed ^^
β Checklist
npx changeset
was attached.π Description
Accounts names were not exported in the csv it's now fixed.
β Context
π§ Checklist for the PR Reviewers