[ZEPPELIN-2622] Keep 'About Zeppelin' window only displaying version

This commit is contained in:
Nelson Costa 2017-06-11 20:52:47 +01:00
parent 426b1eac7d
commit dc76a2439f

View file

@ -38,7 +38,7 @@ function NavCtrl ($scope, $rootScope, $http, $routeParams, $location,
function getZeppelinVersion () {
$http.get(baseUrlSrv.getRestApiBase() + '/version').success(
function (data, status, headers, config) {
$rootScope.zeppelinVersion = data.body
$rootScope.zeppelinVersion = data.body.version
}).error(
function (data, status, headers, config) {
console.log('Error %o %o', status, data.message)