ywana-core8 0.0.796 → 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.
@@ -10839,7 +10839,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10839
10839
 
10840
10840
  var _temp14 = _catch(function () {
10841
10841
  return Promise.resolve(API.remove(id)).then(function () {
10842
- return Promise.resolve(_this12.load()).then(function () {});
10842
+ return Promise.resolve(_this12.reload()).then(function () {});
10843
10843
  });
10844
10844
  }, function (error) {
10845
10845
  console.log(error);
@@ -10857,7 +10857,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10857
10857
 
10858
10858
  var _temp12 = _catch(function () {
10859
10859
  return Promise.resolve(API.updateProperty(id, propertyName, form)).then(function () {
10860
- return Promise.resolve(_this10.load()).then(function () {});
10860
+ return Promise.resolve(_this10.reload()).then(function () {});
10861
10861
  });
10862
10862
  }, function (error) {
10863
10863
  console.log(error);
@@ -10876,7 +10876,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10876
10876
  var _temp10 = _catch(function () {
10877
10877
  if (versioning) form.version = form.version ? form.version + 1 : 1;
10878
10878
  return Promise.resolve(API.patch(id, form)).then(function () {
10879
- return Promise.resolve(_this8.load()).then(function () {});
10879
+ return Promise.resolve(_this8.reload()).then(function () {});
10880
10880
  });
10881
10881
  }, function (error) {
10882
10882
  console.log(error);
@@ -10895,7 +10895,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10895
10895
  var _temp8 = _catch(function () {
10896
10896
  if (versioning) form.version = form.version ? form.version + 1 : 1;
10897
10897
  return Promise.resolve(API.update(form)).then(function () {
10898
- return Promise.resolve(_this6.load()).then(function () {});
10898
+ return Promise.resolve(_this6.reload()).then(function () {});
10899
10899
  });
10900
10900
  }, function (error) {
10901
10901
  console.log(error);
@@ -10914,7 +10914,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10914
10914
  var _temp6 = _catch(function () {
10915
10915
  if (versioning) form.version = 1;
10916
10916
  return Promise.resolve(API.create(form)).then(function () {
10917
- return Promise.resolve(_this4.load()).then(function () {});
10917
+ return Promise.resolve(_this4.reload()).then(function () {});
10918
10918
  });
10919
10919
  }, function (error) {
10920
10920
  console.log(error);