Skip to content

Commit

Permalink
Merge pull request #411 from Open-Earth-Foundation/fix/wrong-source-s…
Browse files Browse the repository at this point in the history
…cale-label

fix(ui): wrong scale label being displayed for data sources on SourceDrawer
  • Loading branch information
evanp committed Apr 4, 2024
2 parents fc26333 + 67ef241 commit a0e02aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/src/app/[lng]/[inventory]/data/[step]/SourceDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,7 @@ export function SourceDrawer({
<Tag bgColor="brand.secondary" border={0}>
<TagLeftIcon as={ScaleIcon} boxSize={6} color="base.light" />
<TagLabel color="base.light">
{t("scale")}:{" "}
{source.accessType === "global-api"
? t("city")
: t("country")}
{t("scale")}: {t(source.spatialResolution || "unknown")}
</TagLabel>
</Tag>

Expand Down

0 comments on commit a0e02aa

Please sign in to comment.