Skip to content

Commit

Permalink
Merge pull request #146 from qdrant/fix-crash-if-no-creation-time
Browse files Browse the repository at this point in the history
Fix crash when snapshot description has no creation time
  • Loading branch information
timvisee authored Jan 9, 2024
2 parents 98cbe68 + 01c4eb9 commit a0fcc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Snapshots/SnapshotsTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const SnapshotsTab = ({ collectionName }) => {

const tableRows = snapshots.map((snapshot) => (
<SnapshotsTableRow
key={snapshot.creation_time.valueOf()}
key={snapshot.creation_time?.valueOf() || 'unknown'}
snapshot={snapshot}
downloadSnapshot={downloadSnapshot}
deleteSnapshot={deleteSnapshot}
Expand Down

0 comments on commit a0fcc82

Please sign in to comment.