Skip to content

Commit

Permalink
add gs uri to frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
fraidev committed Dec 5, 2023
1 parent a1eee4f commit 3578ed6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions frontend/src/components/SnapshotItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,29 @@ const SnapshotItem = (props: { snapshot: Snapshot }) => {
>
{props.snapshot.sha256}
</Typography>

<Typography
style={{
fontWeight: 'bold',
fontSize: 'x-small',
overflowWrap: 'break-word',
color: 'rgb(235, 52, 72)',
}}
component="div"
>
gsutil URI:
</Typography>
<Typography
style={{
fontWeight: 'bold',
fontSize: '13px',
overflowWrap: 'break-word',
}}
component="div"
>
{props.snapshot.gs_uri}
</Typography>

<Typography
style={{
fontWeight: 'bold',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/models/Snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type Snapshot = {
block_hash: string
sha256: string
block_height: number
gs_uri: string
url: string
filesize: string
filesize_bytes: number
Expand Down

0 comments on commit 3578ed6

Please sign in to comment.