@conboai/app.db.query 0.8.70 → 0.8.71
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/dist/app.db.query.js +7 -4
- package/package.json +1 -1
package/dist/app.db.query.js
CHANGED
|
@@ -131012,9 +131012,12 @@ const Ii = Wl((e) => ({
|
|
|
131012
131012
|
getTopOne: async ({ requestBody: t }) => {
|
|
131013
131013
|
e({ detailsLoading: "pending", error: null });
|
|
131014
131014
|
try {
|
|
131015
|
-
const n = await Bk.top1ControllerGetTop1Batch(t), r = ut.getState().editTabData
|
|
131016
|
-
|
|
131017
|
-
|
|
131015
|
+
const n = await Bk.top1ControllerGetTop1Batch(t), r = ut.getState().editTabData, o = n.items.map((i) => ({
|
|
131016
|
+
...i,
|
|
131017
|
+
element_serial_number: i.elementSerialNumber
|
|
131018
|
+
}));
|
|
131019
|
+
r("topOne", o), e(() => ({
|
|
131020
|
+
topOne: o,
|
|
131018
131021
|
detailsLoading: "done"
|
|
131019
131022
|
}));
|
|
131020
131023
|
} catch (n) {
|
|
@@ -131299,7 +131302,7 @@ const Ii = Wl((e) => ({
|
|
|
131299
131302
|
/* @__PURE__ */ se.jsxs(Wt, { sx: XQe, children: [
|
|
131300
131303
|
n,
|
|
131301
131304
|
"/",
|
|
131302
|
-
e == null ? void 0 : e.
|
|
131305
|
+
e == null ? void 0 : e.element_serial_number
|
|
131303
131306
|
] }),
|
|
131304
131307
|
/* @__PURE__ */ se.jsx(Wt, { sx: JQe, children: t }),
|
|
131305
131308
|
o && /* @__PURE__ */ se.jsx(Xe, { sx: KQe, children: /* @__PURE__ */ se.jsx(ug, { sx: ZQe, children: i ? /* @__PURE__ */ se.jsx(tHe, {}) : /* @__PURE__ */ se.jsx(eHe, {}) }) })
|