diff --git a/src/domain/navigation/Navigation.js b/src/domain/navigation/Navigation.js index 5e482c87..6520114c 100644 --- a/src/domain/navigation/Navigation.js +++ b/src/domain/navigation/Navigation.js @@ -58,9 +58,9 @@ export class Navigation { } export class Segment { - constructor(type, value = true) { + constructor(type, value) { this.type = type; - this.value = value; + this.value = value === undefined ? true : value; } }