Skip to content

Commit

Permalink
UI: Bugfix: Wrong version is displayed on left nav menu (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
eran-nussbaum committed Mar 28, 2019
1 parent 6a980d8 commit f203403
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -29,8 +29,8 @@
*/
function onInit() {
NuclioVersionService.getVersion()
.then(function (response) {
ctrl.nuclioVersion = lodash.get(response.data, 'dashboard.label', 'unstable');
.then(function (versionInfo) {
ctrl.nuclioVersion = lodash.get(versionInfo, 'dashboard.label', 'unknown version');
});
}

Expand Down

0 comments on commit f203403

Please sign in to comment.