selectic 3.0.20 → 3.0.21
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/selectic.common.js +7 -1
- package/dist/selectic.esm.js +7 -1
- package/package.json +1 -1
- package/src/Store.tsx +7 -1
package/dist/selectic.common.js
CHANGED
|
@@ -1038,7 +1038,13 @@ class SelecticStore {
|
|
|
1038
1038
|
/* Added options are the same as previous ones.
|
|
1039
1039
|
* Stop fetching to avoid infinite loop
|
|
1040
1040
|
*/
|
|
1041
|
-
|
|
1041
|
+
if (!this.hasFetchedAllItems) {
|
|
1042
|
+
/* Display error if all items are not fetch
|
|
1043
|
+
* We can have the case where old value and result
|
|
1044
|
+
* are the same but total is correct when the
|
|
1045
|
+
* total is 0 */
|
|
1046
|
+
errorMessage = labels.wrongQueryResult;
|
|
1047
|
+
}
|
|
1042
1048
|
setTimeout(() => this.buildAllOptions(true, true), 0);
|
|
1043
1049
|
}
|
|
1044
1050
|
else {
|
package/dist/selectic.esm.js
CHANGED
|
@@ -1034,7 +1034,13 @@ class SelecticStore {
|
|
|
1034
1034
|
/* Added options are the same as previous ones.
|
|
1035
1035
|
* Stop fetching to avoid infinite loop
|
|
1036
1036
|
*/
|
|
1037
|
-
|
|
1037
|
+
if (!this.hasFetchedAllItems) {
|
|
1038
|
+
/* Display error if all items are not fetch
|
|
1039
|
+
* We can have the case where old value and result
|
|
1040
|
+
* are the same but total is correct when the
|
|
1041
|
+
* total is 0 */
|
|
1042
|
+
errorMessage = labels.wrongQueryResult;
|
|
1043
|
+
}
|
|
1038
1044
|
setTimeout(() => this.buildAllOptions(true, true), 0);
|
|
1039
1045
|
}
|
|
1040
1046
|
else {
|
package/package.json
CHANGED
package/src/Store.tsx
CHANGED
|
@@ -1447,7 +1447,13 @@ export default class SelecticStore {
|
|
|
1447
1447
|
/* Added options are the same as previous ones.
|
|
1448
1448
|
* Stop fetching to avoid infinite loop
|
|
1449
1449
|
*/
|
|
1450
|
-
|
|
1450
|
+
if (!this.hasFetchedAllItems) {
|
|
1451
|
+
/* Display error if all items are not fetch
|
|
1452
|
+
* We can have the case where old value and result
|
|
1453
|
+
* are the same but total is correct when the
|
|
1454
|
+
* total is 0 */
|
|
1455
|
+
errorMessage = labels.wrongQueryResult;
|
|
1456
|
+
}
|
|
1451
1457
|
setTimeout(() => this.buildAllOptions(true, true), 0);
|
|
1452
1458
|
} else {
|
|
1453
1459
|
setTimeout(() => this.buildAllOptions(true), 0);
|