Skip to content
Snippets Groups Projects
Verified Commit 6ecc3ebf authored by Peter Stanko's avatar Peter Stanko
Browse files

Fixes the submission cancel button and submission properties provided

parent 26cde3d2
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@
<ngx-datatable-column name="Cancel" prop="id">
<ng-template let-row="row" let-value="value" ngx-datatable-cell-template>
<button class="btn btn-danger" (click)="cancelSubmission(value?.id)">
<button class="btn btn-danger" (click)="cancelSubmission(value)">
Cancel
</button>
</ng-template>
......@@ -91,7 +91,7 @@
<ngx-datatable-column name="Review" prop="id">
<ng-template let-row="row" let-value="value" ngx-datatable-cell-template>
<button class="btn btn-warning" [routerLink]="['/review/' + value.id ]">Review tool</button>
<button class="btn btn-warning" [routerLink]="['/review/' + value ]">Review tool</button>
</ng-template>
</ngx-datatable-column>
</ngx-datatable>
......
......@@ -18,7 +18,7 @@
<div class="col-lg-2"
*ngIf="['CREATED', 'READY', 'QUEUED'].includes(submission.state) && userCanCancelSubmission()">
<button class="btn btn-danger btn-lg btn-block" (click)="cancelSubmission()">
<button class="btn btn-danger btn-block" (click)="cancelSubmission()">
Cancel submission processing
</button>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment