@azrico/webobject 1.4.191 → 1.4.193
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.
|
@@ -47,8 +47,8 @@ var ParentWebObject = exports.ParentWebObject = /*#__PURE__*/function (_WebObjec
|
|
|
47
47
|
}], [{
|
|
48
48
|
key: "getParentTableId",
|
|
49
49
|
value: function getParentTableId(obj) {
|
|
50
|
-
var _ref, _obj$__parent__table_;
|
|
51
|
-
return (_ref = (_obj$__parent__table_ = obj.__parent__table_id) !== null && _obj$__parent__table_ !== void 0 ? _obj$__parent__table_ : obj.
|
|
50
|
+
var _ref, _ref2, _obj$__parent__table_;
|
|
51
|
+
return (_ref = (_ref2 = (_obj$__parent__table_ = obj.__parent__table_id) !== null && _obj$__parent__table_ !== void 0 ? _obj$__parent__table_ : obj.parent_id) !== null && _ref2 !== void 0 ? _ref2 : obj.parent) !== null && _ref !== void 0 ? _ref : obj.parentid;
|
|
52
52
|
}
|
|
53
53
|
}, {
|
|
54
54
|
key: "getTableId",
|
|
@@ -1290,7 +1290,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
|
|
|
1290
1290
|
return _context23.abrupt("return", undefined);
|
|
1291
1291
|
case 6:
|
|
1292
1292
|
params = {};
|
|
1293
|
-
params.
|
|
1293
|
+
params.__context = readonly ? "view" : "edit";
|
|
1294
1294
|
_context23.t0 = _typeof(search);
|
|
1295
1295
|
_context23.next = _context23.t0 === "string" ? 11 : _context23.t0 === "number" ? 11 : _context23.t0 === "object" ? 22 : 22;
|
|
1296
1296
|
break;
|