@opengis/admin 0.3.48 → 0.3.50
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/{add-page-Cxue2Z8O.js → add-page-DpkfxiYu.js} +1 -1
- package/dist/{admin-interface-CkV1EN92.js → admin-interface-Dzf5iqg4.js} +1 -1
- package/dist/{admin-view-Btk-67ml.js → admin-view-SVby2KIb.js} +1 -1
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +47 -47
- package/dist/{card-view-UjRAIjQb.js → card-view-vns5XU2h.js} +1 -1
- package/dist/{edit-page-6h6KkWLQ.js → edit-page-Cu40N3Bw.js} +1 -1
- package/dist/{import-file-C7QDgZX8.js → import-file-BWWJMVUE.js} +11604 -11870
- package/dist/{profile-page-Dk_qxxDJ.js → profile-page-C6lqY06_.js} +1 -1
- package/package.json +1 -1
- package/server/routes/widget/controllers/widget.get.js +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as n, f as m } from "./import-file-
|
1
|
+
import { _ as n, f as m } from "./import-file-BWWJMVUE.js";
|
2
2
|
import { u as p } from "./user-B_2kh6ic.js";
|
3
3
|
import { resolveComponent as f, openBlock as u, createElementBlock as d, createElementVNode as o, createBlock as h, createCommentVNode as b } from "vue";
|
4
4
|
const x = {
|
package/package.json
CHANGED
@@ -105,8 +105,8 @@ export default async function widgetGet({
|
|
105
105
|
const { tableName } = pg.pk['log.table_changes'] ? await pg.query('select entity_type as "tableName" from log.table_changes where entity_id=$1 limit 1', [objectid]).then(el => el.rows?.[0] || {}) : {};
|
106
106
|
const { pk } = await getMeta({ pg, table: tableName });
|
107
107
|
|
108
|
-
if (!pk && !unittest) {
|
109
|
-
return reply.status(404).send('table not found');
|
108
|
+
if (!pk && params.type === 'history' && !unittest) {
|
109
|
+
return reply.status(404).send('log table not found');
|
110
110
|
}
|
111
111
|
|
112
112
|
const q = tableName && pg.pk['admin.users'] ? `select ${username} as author, u.login, a.cdate, a.editor_date from ${tableName} a
|