fix infoboxes for NSI presets, fixes #10885

(which had regressed in c1ca888)
This commit is contained in:
Martin Raifer
2025-03-17 12:10:52 +01:00
parent c1a597c903
commit b2e4d81767
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -46,6 +46,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
#### :bug: Bugfixes
* Fix some direction cones not appearing on railway tracks ([#10843], thanks [@k-yle])
* Better handling of rate limited API calls and other API errors ([#10299])
* Fix info boxes for descriptions of brands referenced by [NSI](https://github.com/osmlab/name-suggestion-index) presets ([#10885])
#### :earth_asia: Localization
#### :hourglass: Performance
#### :mortar_board: Walkthrough / Help
@@ -58,6 +59,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
[#10299]: https://github.com/openstreetmap/iD/issues/10299
[#10843]: https://github.com/openstreetmap/iD/pull/10843
[#10852]: https://github.com/openstreetmap/iD/issues/10852
[#10885]: https://github.com/openstreetmap/iD/issues/10885
[@0xatulpatil]: https://github.com/0xatulpatil
+1 -1
View File
@@ -175,7 +175,7 @@ export default {
// prepare result
var result = {
title: entity.id,
description: description ? description.value : '',
description: selection => selection.text(description ? description.value : ''),
descriptionLocaleCode: description ? description.language : '',
editURL: 'https://www.wikidata.org/wiki/' + entity.id
};