Skip to content

Commit

Permalink
pkp/pkp-lib#10506 Adjust Participant UI for small data structure change
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Dec 18, 2024
1 parent deb4165 commit 0ae6ff9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/managers/ParticipantManager/participantManagerStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ import {ref, computed, watch} from 'vue';
import {useFetch} from '@/composables/useFetch';
import {useUrl} from '@/composables/useUrl';

import {useLocalize} from '@/composables/useLocalize';
import {useParticipantManagerActions} from './useParticipantManagerActions';
import {useDataChanged} from '@/composables/useDataChanged';

export const useParticipantManagerStore = defineComponentStore(
'participantManager',
(props) => {
const {localize} = useLocalize();

const submissionId = ref(props.submission.id);

const relativeUrl = computed(() => {
Expand Down Expand Up @@ -49,7 +46,7 @@ export const useParticipantManagerStore = defineComponentStore(
id: participant.id,
fullName: participant.fullName,
stageAssignmentId: stageAssignment.stageAssignmentId,
roleName: localize(stageAssignment.stageAssignmentUserGroup.name),
roleName: stageAssignment.stageAssignmentUserGroup.name,
roleId: stageAssignment.stageAssignmentUserGroup.roleId,
userGroupId: stageAssignment.stageAssignmentUserGroup.id,
recommendOnly: stageAssignment.recommendOnly,
Expand Down

0 comments on commit 0ae6ff9

Please sign in to comment.