@natec/mef-dev-ui-kit 0.0.68 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/markup-kit/utils/loader/loader.service.mjs +3 -2
- package/fesm2015/natec-mef-dev-ui-kit.mjs +2 -1
- package/fesm2015/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/fesm2020/natec-mef-dev-ui-kit.mjs +2 -1
- package/fesm2020/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/lib/markup-kit/utils/loader/loader.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -186,6 +186,7 @@ class LoaderService {
|
|
|
186
186
|
this.loaderIsShow = new Subject();
|
|
187
187
|
this._lastVal = false;
|
|
188
188
|
this.requestCnt = 0;
|
|
189
|
+
this.RX_EventCout = 1;
|
|
189
190
|
this.stream.subscribe(e => {
|
|
190
191
|
switch (e) {
|
|
191
192
|
case RequestEvent.TX:
|
|
@@ -193,7 +194,7 @@ class LoaderService {
|
|
|
193
194
|
break;
|
|
194
195
|
case RequestEvent.RX_OK:
|
|
195
196
|
case RequestEvent.RX_ERR:
|
|
196
|
-
this.requestCnt -= 0.
|
|
197
|
+
this.requestCnt -= 1.0 * this.RX_EventCout;
|
|
197
198
|
// console.log('LoaderService request', this.requestCnt)
|
|
198
199
|
break;
|
|
199
200
|
}
|