@amirjalili1374/ui-kit 1.5.48 → 1.5.49

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/dist/ui-kit.es.js CHANGED
@@ -18845,7 +18845,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
18845
18845
  watch(
18846
18846
  [cleanFilterModel],
18847
18847
  () => {
18848
- if (!props.filterComponent) {
18848
+ if (!props.filterComponent && props.autoFetch && initialized.value) {
18849
18849
  debouncedFetchData();
18850
18850
  }
18851
18851
  },
@@ -19267,10 +19267,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
19267
19267
  debouncedFetchData();
19268
19268
  };
19269
19269
  onMounted(() => {
19270
+ initialized.value = true;
19270
19271
  if (props.autoFetch) {
19271
19272
  fetchData();
19272
19273
  }
19273
- initialized.value = true;
19274
19274
  });
19275
19275
  const openCustomActionDialog = (action, item) => {
19276
19276
  customActionComponent.value = action.component;