@opengis/gis 0.1.54 → 0.1.55
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
CHANGED
|
@@ -12,13 +12,13 @@ export async function handleRegistryRequest({ settings, query, object_id, offset
|
|
|
12
12
|
const mode = object_id ? "card" : "table";
|
|
13
13
|
const visibleColumns = extractVisibleColumns(parsedColumns, mode);
|
|
14
14
|
const selectColumns = visibleColumns.map((col) => col.name);
|
|
15
|
-
const columnsInfo = visibleColumns.map((col) => ({
|
|
15
|
+
/*const columnsInfo = visibleColumns.map((col) => ({
|
|
16
16
|
name: col.name,
|
|
17
17
|
ua: col.ua,
|
|
18
18
|
format: col.format,
|
|
19
19
|
data: col.data,
|
|
20
20
|
view_type: col.view_type
|
|
21
|
-
}))
|
|
21
|
+
}));*/
|
|
22
22
|
|
|
23
23
|
const classifiers = visibleColumns
|
|
24
24
|
.filter((col) => col.data && ["select", "badge", "tags"].includes(col.format))
|
|
@@ -41,7 +41,7 @@ export async function handleRegistryRequest({ settings, query, object_id, offset
|
|
|
41
41
|
|
|
42
42
|
return {
|
|
43
43
|
row,
|
|
44
|
-
columns:
|
|
44
|
+
columns: visibleColumns,
|
|
45
45
|
register_id,
|
|
46
46
|
name,
|
|
47
47
|
is_files,
|
|
@@ -89,7 +89,7 @@ export async function handleRegistryRequest({ settings, query, object_id, offset
|
|
|
89
89
|
name,
|
|
90
90
|
rows,
|
|
91
91
|
total,
|
|
92
|
-
columns:
|
|
92
|
+
columns: visibleColumns,
|
|
93
93
|
filters: activeFilters,
|
|
94
94
|
limit,
|
|
95
95
|
page,
|