diff --git a/static/resources/js/components/repository/popup-details.directive.js b/static/resources/js/components/repository/popup-details.directive.js index 59311917a..877b0b8f1 100644 --- a/static/resources/js/components/repository/popup-details.directive.js +++ b/static/resources/js/components/repository/popup-details.directive.js @@ -34,9 +34,9 @@ } function getManifestSuccess(data, status) { - console.log('Successful get manifest:' + data); - vm.manifest = data; - vm.manifest['Created'] = $filter('dateL')(vm.manifest['Created'], 'YYYY-MM-DD HH:mm:ss'); + console.log('Successful get manifest:' + data); + vm.manifest = angular.fromJson(data.manifest.history[0].v1Compatibility); + vm.manifest['created'] = $filter('dateL')(vm.manifest['created'], 'YYYY-MM-DD HH:mm:ss'); } function getManifestFailed(data, status) { @@ -89,21 +89,19 @@ var content = '
'; return content; } diff --git a/static/resources/js/services/repository/services.list-manifest.js b/static/resources/js/services/repository/services.list-manifest.js index b94d70c0c..0a3b5fbf3 100644 --- a/static/resources/js/services/repository/services.list-manifest.js +++ b/static/resources/js/services/repository/services.list-manifest.js @@ -29,7 +29,8 @@ .get('/api/repositories/manifests', { 'params': { 'repo_name': repoName, - 'tag': tag + 'tag': tag, + 'version': 'v1' } }); }