Skip to content

Commit

Permalink
Fix "Uploaded by" attribution in data source info tab
Browse files Browse the repository at this point in the history
  • Loading branch information
underbluewaters committed Nov 25, 2024
1 parent fc9e84e commit 69d76c0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,13 @@ export default function LayerVersioning({
key={source.id}
isUpload={!isRemoteSource(source.type)}
authorProfile={
source.authorProfile ||
source.uploadedBy === "datalibrary@seasketch.org"
? {
userId: -9999,
email: "support@seasketch.org",
fullname: "SeaSketch Data Library",
}
: undefined
: source.authorProfile!
}
version={
source.isArchived ? version : item.dataLayer?.version || version
Expand Down

0 comments on commit 69d76c0

Please sign in to comment.