forked from MapComplete/MapComplete
Use translations and fancy icon
This commit is contained in:
parent
5e1b4d95ab
commit
66298880f1
3 changed files with 5 additions and 2 deletions
|
@ -81,7 +81,7 @@ export default class FeatureInfoBox extends ScrollableFullScreen {
|
|||
layerConfig: LayerConfig,
|
||||
state: FeaturePipelineState): BaseUIElement{
|
||||
return new Toggle(
|
||||
"This object is deleted",
|
||||
new Combine([Svg.delete_icon_svg().SetClass("w-8 h-8"), Translations.t.delete.isDeleted]).SetClass("flex justify-center font-bold items-center") ,
|
||||
FeatureInfoBox.GenerateMainContent(tags, layerConfig, state),
|
||||
tags.map(t => t["_deleted"] == "yes")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue