Fix back button behaviour, fix #523

This commit is contained in:
Pieter Vander Vennet 2021-10-25 20:50:59 +02:00
parent a6abbe45b8
commit 936cf1bf9f
6 changed files with 23 additions and 5 deletions

View file

@ -26,7 +26,8 @@ export default class FeatureInfoBox extends ScrollableFullScreen {
layerConfig: LayerConfig,
) {
super(() => FeatureInfoBox.GenerateTitleBar(tags, layerConfig),
() => FeatureInfoBox.GenerateContent(tags, layerConfig));
() => FeatureInfoBox.GenerateContent(tags, layerConfig),
tags.data.id);
if (layerConfig === undefined) {
throw "Undefined layerconfig";