@onehat/data 1.22.5 → 1.22.6

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": "@onehat/data",
3
- "version": "1.22.5",
3
+ "version": "1.22.6",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -126,7 +126,7 @@ JsonProperty.className = 'Json';
126
126
  JsonProperty.type = 'json';
127
127
 
128
128
 
129
- // For the sake of OneBuild, create an alias of Json, that's Tag
129
+ // For the sake of OneBuild backwards compatibility, create an alias of Json, that's Tag
130
130
  export class TagProperty extends JsonProperty {}
131
131
  TagProperty.className = 'Tag';
132
132
  TagProperty.type = 'tag';
@@ -354,7 +354,8 @@ class OneBuildRepository extends AjaxRepository {
354
354
 
355
355
  if (!success) {
356
356
  this.markLoading(false);
357
- throw Error(message);
357
+ this.throwError(message);
358
+ return;
358
359
  }
359
360
 
360
361
  // Click duplicateId. The new row appears directly above the one that was duplicated