Skip to content

Attestation Runs page - Send reminders button is always disabledΒ #513

Description

@piomark

Is this a regression?

No

Severity

🟠 Major – significantly affects usability

Please provide the branch(es) you discovered this issue in

v100

Environment Details

Not relevant

Please provide a minimal set of steps to reproduce the issue

  1. Navigate to Attestation Runs page

The button "Send reminders for displayed runs" is always disabled.

Description

runs-grid.component.html

<div [ngClass]="uidAttestationPolicy ? 'eui-sidesheet-actions' : 'imx-button-bar-transparent'" class="imx-margin-top-16">
  @if (canSeeAttestationPolicies) {
    <button mat-flat-button color="primary" (click)="sendReminderEmail()" [disabled]="!hasPendingAttestations">
      {{ '#LDS#Send reminders for displayed runs' | translate }}
    </button>
  }
</div>

the issue is that RunsGridComponent property hasPendingAttestations is never initialized, therefore it will always be false => the button is never enabled.

Describe what you expected to happen versus what actually happened

I would expect the functionality works ;)

Relevant logs or console output

N/A

Add a screenshot(s) if that helps illustrate the problem

N/A

Suggested Fix

Fix the logic or remove the button

Anything else?

No response

Before submitting...

  • I have searched for existing issues that match this one on github and on the community support page
  • I have included all necessary details to reproduce this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions