Skip to content

RevokeCertificate always renders a hardcoded green "Active" badge for found certificates #791

Description

@feyishola

In RevokeCertificate.tsx:67-83,193, the lookup only special-cases status === 'revoked'; any other status (including expired or frozen) falls into the preview branch, which unconditionally renders <span ...>Active</span>. An expired or frozen certificate is therefore mislabeled "Active" and offered up for revocation. Fix: render the badge from certificate.status and block/adjust the revoke flow for non-active statuses.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workingfrontend

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions