bruce-models 4.1.8 → 4.1.9

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.
@@ -8780,7 +8780,10 @@
8780
8780
  yield api.POST(`ui.tileset/${data.id}`, legacy, exports.Api.PrepReqParams(reqParams));
8781
8781
  }
8782
8782
  else {
8783
- yield api.POST(`tileset/update/${data.id}`, data, exports.Api.PrepReqParams(reqParams));
8783
+ // We avoid saving again if there are no settings and it is new.
8784
+ if (!isNew || (data.settings && Object.keys(data.settings).length > 0)) {
8785
+ yield api.POST(`tileset/update/${data.id}`, data, exports.Api.PrepReqParams(reqParams));
8786
+ }
8784
8787
  }
8785
8788
  yield api.Cache.RemoveByStartsWith(exports.Api.ECacheKey.Tileset + exports.Api.ECacheKey.Id + data.id);
8786
8789
  yield api.Cache.RemoveByStartsWith(exports.Api.ECacheKey.Tileset);
@@ -12892,7 +12895,7 @@
12892
12895
  })(exports.DataSource || (exports.DataSource = {}));
12893
12896
 
12894
12897
  // This is updated with the package.json version on build.
12895
- const VERSION = "4.1.8";
12898
+ const VERSION = "4.1.9";
12896
12899
 
12897
12900
  exports.VERSION = VERSION;
12898
12901
  exports.AbstractApi = AbstractApi;