forked from MapComplete/MapComplete
Refactoring: tweak some featuresources to allow them to run in the tests
This commit is contained in:
parent
ad1178df6c
commit
39aff86c76
3 changed files with 15 additions and 4 deletions
|
@ -32,7 +32,7 @@ export class LastClickFeatureSource implements WritableFeatureSource {
|
|||
}
|
||||
|
||||
const renderings = Utils.Dedup(
|
||||
allPresets.map((uiElem) => uiElem.ConstructElement().innerHTML)
|
||||
allPresets.map((uiElem) => Utils.runningFromConsole ? "" : uiElem.ConstructElement().innerHTML)
|
||||
)
|
||||
|
||||
const properties = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue