Commit 27a4aef5 authored by Regis's avatar Regis

use boards interceptor

parent a85235b8
......@@ -5,7 +5,8 @@
//= require vue-resource
//= require ./interceptor.js.es6
/*= require boards/vue_resource_interceptor */
//= require ./status.js.es6
//= require ./store.js.es6
//= require ./pipeline_url.js.es6
......
/* eslint-disable */
Vue.http.interceptors.push((request, next) => {
Vue.activeResources = Vue.activeResources ? Vue.activeResources + 1 : 1;
next(function (response) {
Vue.activeResources--;
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment