Skip to content

Commit

Permalink
fix: ui fails to render whether time is missing
Browse files Browse the repository at this point in the history
this might happen from old sinopia storages
  • Loading branch information
juanpicado committed May 30, 2018
1 parent b45460d commit f575b48
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export default class LastSync extends React.Component {
}

render() {
if (!this.props.packageMeta.time) {
return null;
}

return (
<Module
title="Last Sync"
Expand Down

0 comments on commit f575b48

Please sign in to comment.