@itfin/components 2.0.31 → 2.0.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itfin/components",
3
- "version": "2.0.31",
3
+ "version": "2.0.32",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -253,10 +253,12 @@ class FilterPanel extends Vue {
253
253
  params: payload
254
254
  });
255
255
  this.filters = filters;
256
+ this.loading = false;
256
257
  this.$emit('set-table-schema', tableSchema);
257
258
  this.loadFiltersValue();
259
+ }, () => {
260
+ this.loading = false;
258
261
  });
259
- this.loading = false;
260
262
  }
261
263
 
262
264
  toggleFilters() {
@@ -186,8 +186,10 @@ class itfView extends Vue {
186
186
  this.total = res.meta.total;
187
187
  this.size = res.meta.size;
188
188
  this.$emit('update:items', this.items);
189
+ this.loadingData = false;
190
+ }, () => {
191
+ this.loadingData = false;
189
192
  });
190
- this.loadingData = false;
191
193
  this.$emit('loaded', this.filter);
192
194
  }
193
195