Skip to content
This repository has been archived by the owner on Aug 5, 2023. It is now read-only.

Commit

Permalink
Fix version check
Browse files Browse the repository at this point in the history
  • Loading branch information
benank committed Mar 30, 2021
1 parent e5c731a commit c790a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/MainMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class MainMenu extends React.Component {

get_latest_version()
{
return typeof this.props.latest_version != 'undefined' ? this.props.latest_version : VERSION;
return typeof this.props.latest_version.length > 0 ? this.props.latest_version : VERSION;
}

click_download()
Expand Down

0 comments on commit c790a77

Please sign in to comment.