glib-web 3.24.1 → 3.24.3

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.
@@ -196,6 +196,7 @@ export default defineComponent({
196
196
  }
197
197
  };
198
198
  const handleDragOver = (event, item) => {
199
+ if (item.children) item._open = true;
199
200
  if (item.dropData) {
200
201
  event.preventDefault();
201
202
  lastDragItem.value = item;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glib-web",
3
- "version": "3.24.1",
3
+ "version": "3.24.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/utils/http.js CHANGED
@@ -232,12 +232,13 @@ export default class {
232
232
 
233
233
  static startIndicator(component) {
234
234
  this._showIndicator();
235
- component.$data._isBusy = true;
235
+ // TODO: this code from vue2, it is deprecated or still related?
236
+ if (component.$data) component.$data._isBusy = true;
236
237
  }
237
238
 
238
239
  static stopIndicator(component) {
239
240
  this._hideIndicator();
240
- component.$data._isBusy = false;
241
+ if (component.$data) component.$data._isBusy = false;
241
242
  }
242
243
 
243
244
  static _showIndicator() {