summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/registry/stores/actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/registry/stores/actions.js')
-rw-r--r--app/assets/javascripts/registry/stores/actions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/registry/stores/actions.js b/app/assets/javascripts/registry/stores/actions.js
index c0de03373d8..a78aa90b7b5 100644
--- a/app/assets/javascripts/registry/stores/actions.js
+++ b/app/assets/javascripts/registry/stores/actions.js
@@ -20,7 +20,7 @@ export const fetchList = ({ commit }, { repo, page }) => {
commit(types.TOGGLE_REGISTRY_LIST_LOADING, repo);
return Vue.http.get(repo.tagsPath, { params: { page } }).then(response => {
- const headers = response.headers;
+ const { headers } = response;
return response.json().then(resp => {
commit(types.TOGGLE_REGISTRY_LIST_LOADING, repo);