Skip to content
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

Claim reward button is never disabled #10

Open
matevz opened this issue Oct 18, 2024 · 0 comments
Open

Claim reward button is never disabled #10

matevz opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels

Comments

@matevz
Copy link
Member

matevz commented Oct 18, 2024

Regression caused by e4a213c

Disabled version of the "Reclaim reward" button is never shown because we don't test isClaimingReward here:

<AppButton
class="mb-20 no-capitalize"
type="submit"
variant="primary"
:disabled="isAddingReward"
>
<span class="normal-case" v-if="isAddingReward"
>Generating transaction and sending reward…</span
>
<span class="normal-case" v-else>Claim your reward</span>
</AppButton>

Maybe we can join the isAddingReward and isClaimingReward variables into a single one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants