forked from MapComplete/MapComplete
Remove unneeded comparison
This commit is contained in:
parent
bb0eb85089
commit
4140d1e19a
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
this.allowMove = null
|
||||
} else if (json.allowMove === true) {
|
||||
this.allowMove = new MoveConfig({}, context + ".allowMove")
|
||||
} else if (json.allowMove !== undefined && json.allowMove !== false) {
|
||||
} else if (json.allowMove !== undefined) {
|
||||
this.allowMove = new MoveConfig(json.allowMove, context + ".allowMove")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue