Commit ff5b23f 1 parent 0a3e5bf commit ff5b23f Copy full SHA for ff5b23f
File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
key : Cosinus
2
- name : ' Carlo Beltrame / Cosinus '
2
+ name : ' Carlo Beltrame / Cosinus'
3
3
pbsNumber : 9415
4
4
type : person
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export async function getStaticPaths() {
10
10
const partyResponse = await client .queries .partyConnection ()
11
11
return partyResponse .data .partyConnection .edges ?.map ((party ) => ({
12
12
params: {
13
- name : party ?.node ?.name
13
+ key : party ?.node ?.key
14
14
},
15
15
props: { party: party ?.node },
16
16
}))
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ const involvedParties = serviceInvolvedParties.filter(function(party: Maybe<Serv
50
50
}).map ((party : Maybe <ServiceInvolved_Parties >) => {
51
51
if (party ) {
52
52
return {
53
+ key: party .party .key ,
53
54
name: party .party .name ,
54
55
description: party .description ,
55
56
}
@@ -177,7 +178,7 @@ const lastUpdatedValue: string = service?.last_updated ? new Date(service.last_u
177
178
return (
178
179
<li >
179
180
{ involvedParty ! .description } :{ " " }
180
- <a class = " text-brombeer hover:underline" href = { ` /it-landscape/parties/${involvedParty ! .name } ` } >
181
+ <a class = " text-brombeer hover:underline" href = { ` /it-landscape/parties/${involvedParty ! .key } ` } >
181
182
{ involvedParty ! .name }
182
183
</a >
183
184
</li >
You can’t perform that action at this time.
0 commit comments