Remove unneeded comparison

This commit is contained in:
Pieter Vander Vennet 2022-12-23 16:39:01 +01:00
parent bb0eb85089
commit 4140d1e19a

View file

@ -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")
}