@steedos/service-pages 2.2.51 → 2.2.52-beta.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.
@@ -344,11 +344,7 @@
344
344
  afterInsert: function (result) {
345
345
  if (result.length > 0) {
346
346
  var record = result[0];
347
- setTimeout(function () {
348
- var url = `/app/${appId}/${objectApiName}/view/${record._id}`
349
- FlowRouter.go(url)
350
- }
351
- , 1);
347
+ SteedosUI.router.go({objectName: objectApiName, recordId: record._id, type: 'new'});
352
348
  return true;
353
349
  }
354
350
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-pages",
3
- "version": "2.2.51",
3
+ "version": "2.2.52-beta.1",
4
4
  "main": "package.service.js",
5
5
  "scripts": {},
6
6
  "license": "MIT",
@@ -8,5 +8,5 @@
8
8
  "publishConfig": {
9
9
  "access": "public"
10
10
  },
11
- "gitHead": "1ca3a0c01c174f25f793a4cb6abb1e3334694344"
11
+ "gitHead": "deba56dae254d9d14d80e46a564a49059e5c7a16"
12
12
  }