@zeedhi/common 1.101.0 → 1.101.1

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.
@@ -7171,12 +7171,12 @@ class GridEditable extends Grid {
7171
7171
  else {
7172
7172
  data.push(row);
7173
7173
  }
7174
- yield this.datasource.updateData(data);
7175
7174
  const id = row[this.datasource.uniqueKey];
7176
7175
  if (id) {
7177
7176
  this.editedRows = Object.assign(Object.assign({}, this.editedRows), { [id]: Object.assign({}, row) });
7178
7177
  this.addedRows = Object.assign(Object.assign({}, this.addedRows), { [id]: Object.assign({}, row) });
7179
7178
  }
7179
+ yield this.datasource.updateData(data);
7180
7180
  this.editing = true;
7181
7181
  });
7182
7182
  }
@@ -7178,12 +7178,12 @@
7178
7178
  else {
7179
7179
  data.push(row);
7180
7180
  }
7181
- yield this.datasource.updateData(data);
7182
7181
  const id = row[this.datasource.uniqueKey];
7183
7182
  if (id) {
7184
7183
  this.editedRows = Object.assign(Object.assign({}, this.editedRows), { [id]: Object.assign({}, row) });
7185
7184
  this.addedRows = Object.assign(Object.assign({}, this.addedRows), { [id]: Object.assign({}, row) });
7186
7185
  }
7186
+ yield this.datasource.updateData(data);
7187
7187
  this.editing = true;
7188
7188
  });
7189
7189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/common",
3
- "version": "1.101.0",
3
+ "version": "1.101.1",
4
4
  "description": "Zeedhi Common",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -43,5 +43,5 @@
43
43
  "lodash.times": "4.3.*",
44
44
  "mockdate": "3.0.*"
45
45
  },
46
- "gitHead": "04d65b589020380fe76f9dbbbed3e4106b3f20fe"
46
+ "gitHead": "0be8c3b7cc1d63fb550afcbc41e8ab97599a7333"
47
47
  }