Skip to content

Commit cf63d11

Browse files
mikeg0184christopherthielen
authored andcommitted
fix(treeChanges): apply toParams to 'retained' path (#72)
Closes ui-router/sticky-states#13 Closes ui-router/sticky-states#15 Closes ui-router/sticky-states#10 Closes ui-router/sticky-states#16 I think
1 parent 21663cc commit cf63d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/path/pathFactory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class PathUtils {
134134
entering = toPath.slice(keep);
135135
to = (retainedWithToParams).concat(entering);
136136

137-
return { from, to, retained, exiting, entering };
137+
return { from, to, retained: retainedWithToParams, exiting, entering };
138138
}
139139

140140
/**

0 commit comments

Comments
 (0)