refactor: rename entity type configuration to geometry type and relocate to dedicated map utilities.

This commit is contained in:
taDuc
2026-05-12 04:49:57 +07:00
parent 16fce9da7a
commit 8f911abe35
6 changed files with 51 additions and 51 deletions
+3 -3
View File
@@ -31,8 +31,8 @@ import {
HIDDEN_BACKGROUND_LAYER_VISIBILITY,
} from "@/uhm/lib/map/styles/backgroundLayers";
import {
ENTITY_TYPE_OPTIONS,
} from "@/uhm/lib/utils/entityTypeOptions";
GEOMETRY_TYPE_OPTIONS,
} from "@/uhm/lib/map/geo/geometryTypeOptions";
import {
EntityFormState,
GeometryMetaFormState,
@@ -1560,7 +1560,7 @@ export default function Page() {
entities={entities}
selectedGeometryEntityIds={selectedGeometryEntityIds}
onEntityIdsChange={handleEntityIdsChange}
entityTypeOptions={ENTITY_TYPE_OPTIONS}
entityTypeOptions={GEOMETRY_TYPE_OPTIONS}
geometryMetaForm={geometryMetaForm}
onGeometryMetaFormChange={handleGeometryMetaFormChange}
isEntitySubmitting={isEntitySubmitting}