forked from MapComplete/MapComplete
Themes: disable 'disused' from delete config, delete less fast for shops but use softdeletion instead
This commit is contained in:
parent
53ea4273df
commit
28e737ed2e
5 changed files with 37 additions and 13 deletions
|
|
@ -10,8 +10,8 @@
|
|||
import type { Feature } from "geojson"
|
||||
import { UIEventSource } from "../../../Logic/UIEventSource"
|
||||
import LayerConfig from "../../../Models/ThemeConfig/LayerConfig"
|
||||
import { TagsFilter } from "../../../Logic/Tags/TagsFilter"
|
||||
import { TagUtils } from "../../../Logic/Tags/TagUtils"
|
||||
import { TagUtils } from "../../../Logic/Tags/TagUtils"
|
||||
import type { UploadableTag } from "../../../Logic/Tags/TagUtils"
|
||||
import OsmChangeAction from "../../../Logic/Osm/Actions/OsmChangeAction"
|
||||
import DeleteAction from "../../../Logic/Osm/Actions/DeleteAction"
|
||||
import ChangeTagAction from "../../../Logic/Osm/Actions/ChangeTagAction"
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
const t = Translations.t.delete
|
||||
|
||||
let selectedTags: TagsFilter
|
||||
let selectedTags: UploadableTag
|
||||
let changedProperties = undefined
|
||||
$: changedProperties = TagUtils.changeAsProperties(selectedTags?.asChange(tags?.data ?? {}) ?? [])
|
||||
let isHardDelete = undefined
|
||||
|
|
|
|||
|
|
@ -988,6 +988,7 @@ export default class SpecialVisualizations {
|
|||
return undefined
|
||||
}
|
||||
return new SvelteUIElement(SpecialTranslation, {
|
||||
t: title,
|
||||
tags: tagsSource,
|
||||
state,
|
||||
feature,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue