@ngrdt/forms 0.0.44 → 0.0.45

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.
@@ -824,10 +824,13 @@ function getRdtSelectStore(initialState = rdtSelectInitialState) {
824
824
  _loadMissingSelected() {
825
825
  const datasource = store.datasource();
826
826
  const reallyMissing = this._setAndGetMissing();
827
- if (!untracked(store.loading) &&
828
- reallyMissing.length > 0 &&
829
- datasource) {
830
- this._fetchMissing(reallyMissing, datasource);
827
+ if (!untracked(store.loading) && datasource) {
828
+ if (reallyMissing.length > 0) {
829
+ this._fetchMissing(reallyMissing, datasource);
830
+ }
831
+ else {
832
+ patchState(store, { initialized: true });
833
+ }
831
834
  }
832
835
  },
833
836
  _cancelFetchMissingIfNeeded() {