Skip to content

Commit

Permalink
Fix: Add rebuttals to action log (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikudouSage committed Jan 7, 2024
1 parent 108006c commit ba0ab43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/action-log/pages/action-log/action-log.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ <h3 class="card-title">{{"app.filter.title" | transloco}}</h3>
<option [value]="ActionLogReportType.Guarantee">{{"app.guarantee" | transloco}}</option>
<option [value]="ActionLogReportType.Claim">{{"app.instance_claim" | transloco}}</option>
<option [value]="ActionLogReportType.Solicitation">{{"app.solicitation" | transloco}}</option>
<option [value]="ActionLogReportType.Rebuttal">{{"app.rebuttal" | transloco}}</option>
</select>
</div>
<div class="form-group">
Expand Down Expand Up @@ -91,6 +92,7 @@ <h3 class="card-title">{{"app.action_log" | transloco}}</h3>
<ng-container *ngIf="item.report_type === ActionLogReportType.Guarantee">{{"app.guarantee" | transloco}}</ng-container>
<ng-container *ngIf="item.report_type === ActionLogReportType.Solicitation">{{"app.solicitation" | transloco}}</ng-container>
<ng-container *ngIf="item.report_type === ActionLogReportType.Claim">{{"app.instance_claim" | transloco}}</ng-container>
<ng-container *ngIf="item.report_type === ActionLogReportType.Rebuttal">{{"app.rebuttal" | transloco}}</ng-container>
</td>
<td>
<ng-container *ngIf="item.report_activity === ActionLogReportActivity.Added">{{"app.action_log.activity.created" | transloco}}</ng-container>
Expand Down
1 change: 1 addition & 0 deletions src/app/response/action-log.response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export enum ActionLogReportType {
Guarantee = 'GUARANTEE',
Claim = 'CLAIM',
Solicitation = 'SOLICITATION',
Rebuttal = 'REBUTTAL',
}

export enum ActionLogReportActivity {
Expand Down

0 comments on commit ba0ab43

Please sign in to comment.