Skip to content

Commit

Permalink
Merge pull request #1138 from culturecreates/bugfix/issue-1134
Browse files Browse the repository at this point in the history
fix: changed map of containPlace uri to sameAs field. closes #1134
  • Loading branch information
AbhishekPAnil authored Jun 6, 2024
2 parents 7b0011d + e14c18b commit b855b0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pages/Dashboard/CreateNewPlace/CreateNewPlace.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ function CreateNewPlace() {
id: place?.id,
name: place?.name,
image: place?.image,
uri: place?.derivedFrom?.uri,
uri: artsDataLinkChecker(place?.sameAs),
};
});
setSelectedContainsPlaces(
Expand Down Expand Up @@ -1004,7 +1004,7 @@ function CreateNewPlace() {
id: place?.id,
name: place?.name,
image: place?.image,
uri: place?.derivedFrom?.uri,
uri: artsDataLinkChecker(place?.sameAs),
};
});
setSelectedContainsPlaces(
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Dashboard/PlaceReadOnly/PlaceReadOnly.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function PlaceReadOnly() {
id: place?.id,
name: place?.name,
image: place?.image,
uri: place?.derivedFrom?.uri,
uri: artsDataLinkChecker(place?.sameAs),
};
});
setSelectedContainsPlaces(
Expand Down

0 comments on commit b855b0a

Please sign in to comment.