Skip to content

Commit

Permalink
Fix updates setting item badge
Browse files Browse the repository at this point in the history
  • Loading branch information
tlrobinson committed Nov 8, 2016
1 parent b0812b1 commit 5ec5fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/metabase/lib/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const MetabaseSettings = {

if (versionInfo) versionInfo = versionInfo.value;

return (versionInfo && currentVersion !== versionInfo.latest.version);
return (versionInfo && MetabaseUtils.compareVersions(currentVersion, versionInfo.latest.version) < 0);
},

passwordComplexity: function(capitalize) {
Expand Down

0 comments on commit 5ec5fbd

Please sign in to comment.