Skip to content

Commit

Permalink
Fix configuration path if undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 16, 2022
1 parent 66589c2 commit ca3212e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "boson",
"productName": "boson",
"version": "0.0.4-alpha.3",
"version": "0.0.4-alpha.4",
"author": "José Sánchez-Gallego <[email protected]>",
"description": "SDSS observer graphical user interface",
"repository": "github:albireox/boson",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/snapshots.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default function SnapshotsView() {
</Stack>
<Stack sx={{ flexGrow: 1, alignItems: 'center', alignSelf: 'center' }}>
<Typography variant='h5' color={grey[800]}>
{snapshots[index].split('/').reverse()[0]}
{snapshots[index] ? snapshots[index].split('/').reverse()[0] : ''}
</Typography>
</Stack>
<Stack direction='row' spacing={1} sx={{ alignSelf: 'right' }}>
Expand Down

0 comments on commit ca3212e

Please sign in to comment.