diff --git a/src/components/exchange/requests/issue/cards/CreateRequestCard.tsx b/src/components/exchange/requests/issue/cards/CreateRequestCard.tsx index 6ce9c1ac..e50bf27f 100644 --- a/src/components/exchange/requests/issue/cards/CreateRequestCard.tsx +++ b/src/components/exchange/requests/issue/cards/CreateRequestCard.tsx @@ -148,7 +148,7 @@ export const CreateRequestCard = ({
Estudante
{type === "directexchange" ? option.class_participant_goes_from.name : option.class_issuer_goes_from.name}
+{type === "directexchange" ? (option as DirectExchangeParticipant).class_participant_goes_from.name : (option as ExchangeOption).class_issuer_goes_from.name}
{type === "directexchange" ? option.class_participant_goes_to.name : option.class_issuer_goes_to.name}
+{type === "directexchange" ? (option as DirectExchangeParticipant).class_participant_goes_to.name : (option as ExchangeOption).class_issuer_goes_to.name}