fix problems with multiple entries with null id, vue seems automatic use id as key, despite the manuel choosen key publicKey

This commit is contained in:
einhornimmond 2024-02-15 20:12:52 +01:00
parent faf4c848ca
commit 6c16307949
2 changed files with 1 additions and 2 deletions

View File

@ -44,7 +44,7 @@
</b-row>
<b-list-group-item
v-for="federation in item.federatedCommunities"
:key="federation.publicKey"
:key="federation.id"
:variant="!item.foreign ? 'primary' : 'warning'"
>
<federation-visualize-item :item="federation" />

View File

@ -3,7 +3,6 @@ import gql from 'graphql-tag'
export const allCommunities = gql`
query {
allCommunities {
id
foreign
url
publicKey