Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

fix: display attestation status in claims list #348

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

rflechtner
Copy link
Contributor

@rflechtner rflechtner commented Apr 28, 2021

fixes KILTProtocol/ticket#1269

Fixes an issue where the revocation status was not correctly displayed in the claims list because the state was updated incorrectly.

This is the result of a state update before the fix:
image

As you can see, the revoked property was set on the wrong object, one level too high.

How to test:

Attest a claim, revoke it, then navigate to the claims list. While the revoked claim may still show a green check mark, it should switch to a red x after you entered the claim detail view once (clicking on the claim alias, then going back to the list view).

Checklist:

  • I have verified that the code works
  • I have verified that the code is easy to understand
    • If not, I have left a well-balanced amount of inline comments
  • I have left the code in a better state
  • I have documented the changes (where applicable)

@Dudleyneedham Dudleyneedham self-requested a review April 28, 2021 09:53
Copy link
Member

@Dudleyneedham Dudleyneedham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rflechtner rflechtner merged commit bbe2c53 into release/0.22.0 Apr 28, 2021
Dudleyneedham added a commit that referenced this pull request Apr 30, 2021
* chore: upgrade kilt sdk

* fix: new tx workflow

* fix: balances

* fix: new RequestClaimsForCtypes format

* fix: filter out incompatible messages

* chore: update sdk

* feat: updating to the latest rc 4

* feat: updating to the latest rc 5

* feat: updating to the latest rc 7

* fix: display attestation status in claims list (#348)

* fix: delegation revoke signandsend (#349)

* chore: bump sdk rc

* chore: upgrading to the latest sdk rc

* chore: releasing newest version

Co-authored-by: dudleyneedham <dudleyneedham1993@gmail.com>
Co-authored-by: Raphael Flechtner <39338561+rflechtner@users.noreply.github.com>
Co-authored-by: LeonFLK <51441505+LeonFLK@users.noreply.github.com>
Co-authored-by: LeonFLK <leon@kilt.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants