Skip to content

Commit

Permalink
Fix version description when no add-ons present (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseMarcenaro authored and KevinJump committed Sep 19, 2019
1 parent 5c1c0a8 commit 250cddd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@

uSync8DashboardService.getAddOns()
.then(function (result) {

vm.page.description = 'v' + result.data.Version;
if (result.data.AddOnString.length > 0) {
vm.page.description = 'v' + result.data.Version + ' + ' + result.data.AddOnString;
vm.page.description += ' + ' + result.data.AddOnString;
}
vm.addOns = result.data.AddOns;

Expand Down

0 comments on commit 250cddd

Please sign in to comment.