forked from MapComplete/MapComplete
Various small fixes
This commit is contained in:
parent
1ea285d303
commit
2dd428497e
45 changed files with 776 additions and 587 deletions
|
@ -11,7 +11,6 @@ export class TagRenderingOptions implements TagDependantUIElementConstructor {
|
|||
* Notes: by not giving a 'question', one disables the question form alltogether
|
||||
*/
|
||||
public options: {
|
||||
priority?: number;
|
||||
question?: string | Translation;
|
||||
freeform?: {
|
||||
key: string;
|
||||
|
@ -22,7 +21,7 @@ export class TagRenderingOptions implements TagDependantUIElementConstructor {
|
|||
extraTags?: TagsFilter
|
||||
};
|
||||
multiAnswer?: boolean,
|
||||
mappings?: { k: TagsFilter; txt: string | Translation; priority?: number, substitute?: boolean, hideInAnwser?: boolean }[]
|
||||
mappings?: { k: TagsFilter; txt: string | Translation; substitute?: boolean, hideInAnwser?: boolean }[]
|
||||
};
|
||||
|
||||
constructor(options: {
|
||||
|
@ -146,8 +145,4 @@ export class TagRenderingOptions implements TagDependantUIElementConstructor {
|
|||
return !this.IsQuestioning(properties);
|
||||
}
|
||||
|
||||
Priority(): number {
|
||||
return this.options.priority ?? 0;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue