guy 4 years ago
parent
commit
2af688766e
  1. 2
      src/core/inject.js

2
src/core/inject.js

@ -57,6 +57,7 @@
if (!providers[type]) { if (!providers[type]) {
providers[type] = new providerInjection[type](); providers[type] = new providerInjection[type]();
} }
providerInstance[type] = null;
return configFn(providers[type]); return configFn(providers[type]);
} }
return BI.Plugin.configWidget(type, configFn); return BI.Plugin.configWidget(type, configFn);
@ -74,6 +75,7 @@
if (!providers[type]) { if (!providers[type]) {
providers[type] = new providerInjection[type](); providers[type] = new providerInjection[type]();
} }
providerInstance[type] = null;
queue[i](providers[type]); queue[i](providers[type]);
continue; continue;
} }

Loading…
Cancel
Save