@dile/crud 0.0.26 → 0.0.27

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.
@@ -100,7 +100,11 @@ export class DileAjaxForm extends LitElement {
100
100
  }
101
101
 
102
102
  loadData() {
103
- this.ajaxget.generateRequest();
103
+ if(this.ajaxget) {
104
+ this.ajaxget.generateRequest();
105
+ } else {
106
+ setTimeout(() => this.loadData(), 100);
107
+ }
104
108
  }
105
109
 
106
110
  doAction() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/crud",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "Components to create a generic crud system based on Web Components and Lit",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,5 +31,5 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "97061a86abf5bd422da53498cf94b900a78d1b3f"
34
+ "gitHead": "447a6986de20316e3d58fbc03f8b07f871b88be7"
35
35
  }