Skip to content

Commit

Permalink
Fix for missing version field
Browse files Browse the repository at this point in the history
  • Loading branch information
dgolovin committed Jun 8, 2016
1 parent 76edfde commit 93cf6ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/model/installable-item.js
Expand Up @@ -46,8 +46,8 @@ class InstallableItem {
}

getProductVersion() {
if(this.selectedOption==='detected') {
return this.option[this.selectedOption].version ;
if(this.hasOption(this.selectedOption) && this.selectedOption==='detected') {
return this.option[this.selectedOption].version;
}
return this.productVersion;
}
Expand Down

0 comments on commit 93cf6ae

Please sign in to comment.