diff --git a/Logic/FeatureSource/Actors/SaveTileToLocalStorageActor.ts b/Logic/FeatureSource/Actors/SaveTileToLocalStorageActor.ts index 4494bc4bb..12ef0e574 100644 --- a/Logic/FeatureSource/Actors/SaveTileToLocalStorageActor.ts +++ b/Logic/FeatureSource/Actors/SaveTileToLocalStorageActor.ts @@ -11,7 +11,7 @@ import Loc from "../../../Models/Loc" /*** * Saves all the features that are passed in to localstorage, so they can be retrieved on the next run * - * Technically, more an Actor then a featuresource, but it fits more neatly this ay + * Technically, more an Actor then a featuresource, but it fits more neatly this way */ export default class SaveTileToLocalStorageActor { private readonly visitedTiles: UIEventSource> diff --git a/Logic/FeatureSource/Sources/FilteringFeatureSource.ts b/Logic/FeatureSource/Sources/FilteringFeatureSource.ts index e6f1999b4..e83bae33f 100644 --- a/Logic/FeatureSource/Sources/FilteringFeatureSource.ts +++ b/Logic/FeatureSource/Sources/FilteringFeatureSource.ts @@ -85,6 +85,9 @@ export default class FilteringFeatureSource implements FeatureSourceForLayer, Ti if (isShown !== undefined && !isShown.matchesProperties(tags)) { return false } + if(tags._deleted === "yes"){ + return false + } const tagsFilter = Array.from(layer.appliedFilters?.data?.values() ?? []) for (const filter of tagsFilter) { diff --git a/UI/Popup/FeatureInfoBox.ts b/UI/Popup/FeatureInfoBox.ts index f75d9128d..22a39194f 100644 --- a/UI/Popup/FeatureInfoBox.ts +++ b/UI/Popup/FeatureInfoBox.ts @@ -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") )