forked from MapComplete/MapComplete
Use proper description in layerconfig
This commit is contained in:
parent
f5a4e8cbec
commit
85a6894c92
14 changed files with 113 additions and 14 deletions
|
@ -66,7 +66,7 @@ export default class LayerConfig {
|
|||
|
||||
this.id = json.id;
|
||||
this.name = Translations.T(json.name);
|
||||
this.description = Translations.T(json.name);
|
||||
this.description = Translations.T(json.description);
|
||||
this.overpassTags = FromJSON.Tag(json.overpassTags, context + ".overpasstags");
|
||||
this.doNotDownload = json.doNotDownload ?? false,
|
||||
this.passAllFeatures = json.passAllFeatures ?? false;
|
||||
|
|
|
@ -19,7 +19,7 @@ export interface LayerConfigJson {
|
|||
|
||||
/**
|
||||
* A description for this layer.
|
||||
* Shown in the layer selections and in the personal theme
|
||||
* Shown in the layer selections and in the personel theme
|
||||
*/
|
||||
description?: string | any;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue