mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
0e1b2c0b6f
commit
12bd5063c4
@ -31,7 +31,7 @@ const matchingRouteInjectable = getInjectable({
|
|||||||
const currentPath = di.inject(currentPathInjectable);
|
const currentPath = di.inject(currentPathInjectable);
|
||||||
|
|
||||||
return computed(() => (
|
return computed(() => (
|
||||||
iter.pipeline(routes.get().values())
|
iter.chain(routes.get().values())
|
||||||
.map(getMatchDataForRouteFrom(currentPath.get()))
|
.map(getMatchDataForRouteFrom(currentPath.get()))
|
||||||
.find(data => data.isMatching)
|
.find(data => data.isMatching)
|
||||||
));
|
));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user