fix: 🐛 Fix multiple appending debug vintage unknown label (#9458)

* fix: 🐛 Fix multiple appending debug vintage unknown label

* keep using t.append for accessibility

Co-authored-by: Martin Raifer <martin@raifer.tech>
This commit is contained in:
Furkan Mutlu
2023-01-19 11:49:30 +01:00
committed by GitHub
parent 48f23ce954
commit f7bd65ac8d

View File

@@ -250,6 +250,7 @@ export function rendererTileLayer(context) {
if (result && result.vintage && result.vintage.range) {
span.text(result.vintage.range);
} else {
span.text('');
span.call(t.append('info_panels.background.vintage'));
span.append('span').text(': ');
span.call(t.append('info_panels.background.unknown'));