Skip to content

Commit 3f41940

Browse files
committed
fix: switch order
1 parent af37c4c commit 3f41940

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

src/components/stac/collection.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@ export function CollectionCard({
100100
<Card.Footer>
101101
<Stack>
102102
<HStack>
103+
{selfHref && (
104+
<Tooltip content="Load collection">
105+
<IconButton
106+
variant={"surface"}
107+
size={"xs"}
108+
onClick={() => setHref(selfHref)}
109+
>
110+
<LuUpload></LuUpload>
111+
</IconButton>
112+
</Tooltip>
113+
)}
103114
<Tooltip content="Zoom to collection">
104115
<IconButton
105116
variant={"surface"}
@@ -114,17 +125,6 @@ export function CollectionCard({
114125
<LuZoomIn></LuZoomIn>
115126
</IconButton>
116127
</Tooltip>
117-
{selfHref && (
118-
<Tooltip content="Load collection">
119-
<IconButton
120-
variant={"surface"}
121-
size={"xs"}
122-
onClick={() => setHref(selfHref)}
123-
>
124-
<LuUpload></LuUpload>
125-
</IconButton>
126-
</Tooltip>
127-
)}
128128
<Tooltip content="View raw JSON">
129129
<RawJsonDialogButton
130130
title={collection.id}

0 commit comments

Comments
 (0)