All files / src/app/pages/data-request data-request-page.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 241x                                              
@if (error$ | async) {
  <ish-error-message [error]="error$ | async" [toast]="false" />
  <h1 data-testing-id="empty-confirmation-title">
    {{ 'personal.data.request.confirmation.empty.heading' | translate }}
  </h1>
  <div [ishServerHtml]="'personal.data.request.confirmation.empty.message' | translate"></div>
}
@if ((loading$ | async) === false && !!(error$ | async) === false) {
  @if (firstGDPRDataRequest$ | async) {
    <h1 data-testing-id="successful-confirmation-title">
      {{ 'personal.data.request.confirmation.success.heading' | translate }}
    </h1>
    <div [ishServerHtml]="'personal.data.request.confirmation.success.message' | translate"></div>
  } @else {
    <h1 data-testing-id="already-confirmed-title">
      {{ 'personal.data.request.confirmation.confirmed.heading' | translate }}
    </h1>
    <div [ishServerHtml]="'personal.data.request.confirmation.confirmed.message' | translate"></div>
  }
}
@if (loading$ | async) {
  <ish-loading />
}