Skip to content

Commit

Permalink
Merge pull request #62 from nhsengland/fix/NHSAAC-80394-FIX
Browse files Browse the repository at this point in the history
disables sorting by assessed by column
  • Loading branch information
assimoes-bjss authored Oct 29, 2021
2 parents 902b488 + 179e1b5 commit 464f01c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('FeatureModules/Assessment/Innovations/ReviewInnovationsComponent', ()
const expected = [
{ key: 'name', label: 'Innovation', orderDir: 'none', orderable: true, align: 'text-align-left' },
{ key: 'assessmentStartDate', label: 'Assessment start date', orderDir: 'none', orderable: true, align: 'text-align-left' },
{ key: 'assessedBy', label: 'Assessed by', orderDir: 'none', orderable: true, align: 'text-align-left' },
{ key: 'assessedBy', label: 'Assessed by', orderDir: 'none', orderable: false, align: 'text-align-left' },
{ key: 'mainCategory', label: 'Primary category', orderDir: 'none', orderable: true, align: 'text-align-right' }
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class ReviewInnovationsComponent extends CoreComponent implements OnInit
this.innovationsList.setVisibleColumns({
name: { label: 'Innovation', orderable: true },
assessmentStartDate: { label: 'Assessment start date', orderable: true },
assessedBy: { label: 'Assessed by', orderable: true },
assessedBy: { label: 'Assessed by', orderable: false },
mainCategory: { label: 'Primary category', align: 'right', orderable: true }
}).setOrderBy('updatedAt');
break;
Expand Down

0 comments on commit 464f01c

Please sign in to comment.