Skip to content

Commit

Permalink
fix person Uuid navigation in event participant grid #9921
Browse files Browse the repository at this point in the history
  • Loading branch information
syntakker committed Jul 26, 2022
1 parent 442e2c2 commit cd5f0f7
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
/*******************************************************************************
/*
* SORMAS® - Surveillance Outbreak Response Management & Analysis System
* Copyright © 2016-2018 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
*
* Copyright © 2016-2022 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*******************************************************************************/
*/

package de.symeda.sormas.ui.events;

import java.util.Date;
Expand Down Expand Up @@ -124,6 +122,10 @@ public EventParticipantsGrid(EventParticipantCriteria criteria) {
ControllerProvider.getCaseController().createFromEventParticipant(eventParticipant);
}
}));
addItemClickListener(
new ShowDetailsListener<>(
EventParticipantIndexDto.PERSON_UUID,
e -> ControllerProvider.getPersonController().navigateToPerson(e.getPersonUuid())));
addItemClickListener(
new ShowDetailsListener<>(
EventParticipantIndexDto.UUID,
Expand Down

0 comments on commit cd5f0f7

Please sign in to comment.