Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-01-10 15:18:12 -05:00
1 parent 0e1b2c0b6f
commit 12bd5063c4
1 file changed
+1 -1
@@ -31,7 +31,7 @@ const matchingRouteInjectable = getInjectable({
const currentPath = di.inject(currentPathInjectable);
return computed(() => (
iter.pipeline(routes.get().values())
iter.chain(routes.get().values())
.map(getMatchDataForRouteFrom(currentPath.get()))
.find(data => data.isMatching)
));