Skip to content

Commit a30332e

Browse files
committed
Fixed a bug where the title of the dataset was not changing on the details panel.
1 parent facfef6 commit a30332e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

geonode_mapstore_client/client/js/components/DetailsPanel/DetailsPanel.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const EditTitle = ({ title, onEdit, disabled }) => {
3838
setTextValue(evt.target.value);
3939
onEdit(evt.target.value);
4040
}}
41-
value={textValue}
41+
value={onEdit ? textValue : title}
4242
disabled={disabled}
4343
/>
4444
</div>);

geonode_mapstore_client/static/mapstore/configs/localConfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,6 +2332,7 @@
23322332
}
23332333
},
23342334
{
2335+
"mandatory": true,
23352336
"name": "LayerDetailViewer",
23362337
"cfg": {
23372338
"containerPosition": "rightOverlay",

0 commit comments

Comments
 (0)