-
Notifications
You must be signed in to change notification settings - Fork 71
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
Show new invitation quota on ProposalDetails
(#3902)
#3926
Show new invitation quota on ProposalDetails
(#3902)
#3926
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@traumschule what do you mean by Oh you mean in the created proposal.. nvm :) checking |
@traumschule the proposalDetails are not defined for such type: The trick is the missing definition of |
@traumschule check this out https://github.com/traumschule/pioneer/pull/4/files :) |
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.
|
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.
LGTM but I don't really understand how it fixes #3902 😕
type: 'setMembershipLeadInvitationQuota', | ||
amount: new BN(fragment.newLeadInvitationQuota), | ||
}) | ||
|
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.
the key was to cast the detail
…tream#3926) * Show new invitation quota on `ProposalDetails` (Joystream#3902) * Generate SetMembershipLeadInvitationQuotaProposalDetails * fix amount -> count type in `ProposalDetails` * Do not use currency for setMembershipLeadInvitationQuota * lint * fix field and test Co-authored-by: Joystream Stats <dev@joystreamstats.live> Co-authored-by: Oleksandr Korniienko <oleksanderkorn@gmail.com>
…tream#3926) * Show new invitation quota on `ProposalDetails` (Joystream#3902) * Generate SetMembershipLeadInvitationQuotaProposalDetails * fix amount -> count type in `ProposalDetails` * Do not use currency for setMembershipLeadInvitationQuota * lint * fix field and test Co-authored-by: Joystream Stats <dev@joystreamstats.live> Co-authored-by: Oleksandr Korniienko <oleksanderkorn@gmail.com>
…tream#3926) * Show new invitation quota on `ProposalDetails` (Joystream#3902) * Generate SetMembershipLeadInvitationQuotaProposalDetails * fix amount -> count type in `ProposalDetails` * Do not use currency for setMembershipLeadInvitationQuota * lint * fix field and test Co-authored-by: Joystream Stats <dev@joystreamstats.live> Co-authored-by: Oleksandr Korniienko <oleksanderkorn@gmail.com>
…tream#3926) * Show new invitation quota on `ProposalDetails` (Joystream#3902) * Generate SetMembershipLeadInvitationQuotaProposalDetails * fix amount -> count type in `ProposalDetails` * Do not use currency for setMembershipLeadInvitationQuota * lint * fix field and test Co-authored-by: Joystream Stats <dev@joystreamstats.live> Co-authored-by: Oleksandr Korniienko <oleksanderkorn@gmail.com>
Fixes #3902