@things-factory/apptool-ui 6.0.106 → 6.0.107

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.
@@ -32,7 +32,20 @@ class AppBusyBar extends connect(store)(LitElement) {
32
32
  }
33
33
 
34
34
  stateChanged(state) {
35
- this._busy = state.busy.busy
35
+ if (!state.busy.busy) {
36
+ this._busy = false
37
+ }
38
+
39
+ this._last_state = state.busy.busy
40
+
41
+ if (!this._timeout) {
42
+ this._timeout = setTimeout(() => {
43
+ if (this._last_state) {
44
+ this._busy = true
45
+ }
46
+ delete this._timeout
47
+ }, 500)
48
+ }
36
49
  }
37
50
  }
38
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/apptool-ui",
3
- "version": "6.0.106",
3
+ "version": "6.0.107",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -27,7 +27,7 @@
27
27
  "@material/mwc-icon": "^0.27.0",
28
28
  "@material/mwc-linear-progress": "^0.27.0",
29
29
  "@operato/layout": "^1.0.1",
30
- "@things-factory/apptool-base": "^6.0.104"
30
+ "@things-factory/apptool-base": "^6.0.107"
31
31
  },
32
- "gitHead": "ac9c6877be455e7c02114b517f1c6c5a5da56d7f"
32
+ "gitHead": "fa6d3ad23a445081db89b26e75a696fb46a38bd6"
33
33
  }