From d8abb28e35caf9536d4b004142a8ff1d2f3425e7 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 9 Dec 2024 13:02:03 +0100 Subject: [PATCH] feat: move labelKey field on the top datalayer form fix #2331 --- umap/static/umap/js/modules/data/layer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/data/layer.js b/umap/static/umap/js/modules/data/layer.js index a362ee713..a87ea6c2e 100644 --- a/umap/static/umap/js/modules/data/layer.js +++ b/umap/static/umap/js/modules/data/layer.js @@ -626,6 +626,7 @@ export class DataLayer extends ServerStored { 'options.type', { handler: 'LayerTypeChooser', label: translate('Type of layer') }, ], + 'options.labelKey', [ 'options.displayOnLoad', { label: translate('Display on load'), handler: 'Switch' }, @@ -698,7 +699,6 @@ export class DataLayer extends ServerStored { 'options.zoomTo', 'options.fromZoom', 'options.toZoom', - 'options.labelKey', ] builder = new U.FormBuilder(this, optionsFields, {