forked from MapComplete/MapComplete
Fix: remove 'icons.defaults' from favourite layers, cleanup of various small typing errors
This commit is contained in:
parent
98ca6aa8aa
commit
e8569ec540
7 changed files with 37 additions and 26 deletions
|
@ -1,4 +1,5 @@
|
|||
import {
|
||||
Bypass,
|
||||
Concat,
|
||||
Conversion,
|
||||
DesugaringContext,
|
||||
|
@ -1252,6 +1253,10 @@ export class AddRatingBadge extends DesugaringStep<LayerConfigJson> {
|
|||
// already added
|
||||
return json
|
||||
}
|
||||
if (json.id === "favourite") {
|
||||
// handled separately
|
||||
return json
|
||||
}
|
||||
|
||||
const specialVis: Exclude<RenderingSpecification, string>[] = <
|
||||
Exclude<RenderingSpecification, string>[]
|
||||
|
@ -1266,6 +1271,7 @@ export class AddRatingBadge extends DesugaringStep<LayerConfigJson> {
|
|||
return json
|
||||
}
|
||||
}
|
||||
|
||||
export class AutoTitleIcon extends DesugaringStep<LayerConfigJson> {
|
||||
constructor() {
|
||||
super(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue