Skip to content

Commit

Permalink
removed shipment date from lab users grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony4m committed Aug 15, 2022
1 parent 76b64b5 commit 01abbca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ public SampleGrid(SampleCriteria criteria) {
addItemClickListener(
new ShowDetailsListener<>(SampleIndexDto.UUID, e -> ControllerProvider.getSampleController().navigateToData(e.getUuid())));

if (UserProvider.getCurrent().hasUserRole(UserRole.LAB_USER) || UserProvider.getCurrent().hasUserRole(UserRole.EXTERNAL_LAB_USER)) {
if (UserProvider.getCurrent().hasUserRole(UserRole.LAB_USER)
|| UserProvider.getCurrent().hasUserRole(UserRole.EXTERNAL_LAB_USER)
|| UserProvider.getCurrent().hasUserRole(UserRole.LAB_SUPERVISOR)) {

This comment has been minimized.

Copy link
@Anthony4m

Anthony4m Jun 22, 2023

Author Collaborator

Commit message said removed a date but there's nothing about dates here

removeColumn(SampleIndexDto.SHIPMENT_DATE);
} else {
removeColumn(SampleIndexDto.RECEIVED_DATE);
Expand Down

0 comments on commit 01abbca

Please sign in to comment.