web: fix RouteMatch erroring when arguments are given

This commit is contained in:
Jens Langhammer 2020-12-06 18:40:11 +01:00
parent c03754abec
commit c0166aec20

View file

@ -16,6 +16,6 @@ export class RouteMatch {
}
toString(): string {
return `<RouteMatch url=${this.fullUrl} route=${this.route} arguments=${this.arguments}>`;
return `<RouteMatch url=${this.fullUrl} route=${this.route} arguments=${JSON.stringify(this.arguments)}>`;
}
}