diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-07-12 14:47:09 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-12 14:47:09 +0000 |
commit | aaa78199c2408a05d81aa4ee3058e81bb732da16 (patch) | |
tree | 97146599b47da2f86a1701c6012f60103bad9352 /app/assets/javascripts/sidebar | |
parent | fd692d10663e5d3c7dc0de9221d6231b7fbcc464 (diff) | |
download | gitlab-ce-aaa78199c2408a05d81aa4ee3058e81bb732da16.tar.gz |
Update vue-resource
Diffstat (limited to 'app/assets/javascripts/sidebar')
-rw-r--r-- | app/assets/javascripts/sidebar/sidebar_mediator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/sidebar/sidebar_mediator.js b/app/assets/javascripts/sidebar/sidebar_mediator.js index 5ccfb4ee9c1..721e92221cf 100644 --- a/app/assets/javascripts/sidebar/sidebar_mediator.js +++ b/app/assets/javascripts/sidebar/sidebar_mediator.js @@ -28,8 +28,8 @@ export default class SidebarMediator { fetch() { this.service.get() - .then((response) => { - const data = response.json(); + .then(response => response.json()) + .then((data) => { this.store.setAssigneeData(data); this.store.setTimeTrackingData(data); }) |