1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-01-05 15:32:46 -05:00
parent 0e1b2c0b6f
commit 12bd5063c4

View File

@ -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)
));