@xuda.io/xuda-dbs-plugin-xuda 1.0.162 → 1.0.163
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/package.json +1 -1
- package/studio.mjs +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xuda.io/xuda-dbs-plugin-xuda",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.163",
|
4
4
|
"description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
|
5
5
|
"scripts": {
|
6
6
|
"pub": "npm version patch --force && npm publish --access public"
|
package/studio.mjs
CHANGED
@@ -283,7 +283,7 @@ const get_opt = function (e, table_obj) {
|
|
283
283
|
opt.sort = sort;
|
284
284
|
}
|
285
285
|
|
286
|
-
if (e?.sortModel
|
286
|
+
if (e?.sortModel && JSON.parse(e.sortModel).length) {
|
287
287
|
opt.sort = JSON.parse(e.sortModel);
|
288
288
|
if (opt.sort) {
|
289
289
|
for (const [key, val] of Object.entries(opt.sort)) {
|