ywana-core8 0.0.795 → 0.0.797

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/index.umd.js CHANGED
@@ -10841,7 +10841,7 @@
10841
10841
 
10842
10842
  var _temp14 = _catch(function () {
10843
10843
  return Promise.resolve(API.remove(id)).then(function () {
10844
- return Promise.resolve(_this12.load()).then(function () {});
10844
+ return Promise.resolve(_this12.reload()).then(function () {});
10845
10845
  });
10846
10846
  }, function (error) {
10847
10847
  console.log(error);
@@ -10859,7 +10859,7 @@
10859
10859
 
10860
10860
  var _temp12 = _catch(function () {
10861
10861
  return Promise.resolve(API.updateProperty(id, propertyName, form)).then(function () {
10862
- return Promise.resolve(_this10.load()).then(function () {});
10862
+ return Promise.resolve(_this10.reload()).then(function () {});
10863
10863
  });
10864
10864
  }, function (error) {
10865
10865
  console.log(error);
@@ -10878,7 +10878,7 @@
10878
10878
  var _temp10 = _catch(function () {
10879
10879
  if (versioning) form.version = form.version ? form.version + 1 : 1;
10880
10880
  return Promise.resolve(API.patch(id, form)).then(function () {
10881
- return Promise.resolve(_this8.load()).then(function () {});
10881
+ return Promise.resolve(_this8.reload()).then(function () {});
10882
10882
  });
10883
10883
  }, function (error) {
10884
10884
  console.log(error);
@@ -10897,7 +10897,7 @@
10897
10897
  var _temp8 = _catch(function () {
10898
10898
  if (versioning) form.version = form.version ? form.version + 1 : 1;
10899
10899
  return Promise.resolve(API.update(form)).then(function () {
10900
- return Promise.resolve(_this6.load()).then(function () {});
10900
+ return Promise.resolve(_this6.reload()).then(function () {});
10901
10901
  });
10902
10902
  }, function (error) {
10903
10903
  console.log(error);
@@ -10916,7 +10916,7 @@
10916
10916
  var _temp6 = _catch(function () {
10917
10917
  if (versioning) form.version = 1;
10918
10918
  return Promise.resolve(API.create(form)).then(function () {
10919
- return Promise.resolve(_this4.load()).then(function () {});
10919
+ return Promise.resolve(_this4.reload()).then(function () {});
10920
10920
  });
10921
10921
  }, function (error) {
10922
10922
  console.log(error);