Commit 85d5242
fix(router): Ensure all outlets are used when commands have a prefix (#39456)
When there is a primary outlet present in the outlets map and the object is also prefixed
with some other commands, the current logic only uses the primary outlet and ignores
the others. This change ensures that all outlets are respected at the
segment level when prefixed with other commands.
PR Close #394561 parent 8f36c21 commit 85d5242Copy full SHA for 85d5242
File tree
Expand file treeCollapse file tree
2 files changed
+11
-11
lines changedOpen diff view settings
Filter options
- packages/router
- src
- test
Expand file treeCollapse file tree
2 files changed
+11
-11
lines changedOpen diff view settings
Collapse file
packages/router/src/create_url_tree.ts
Copy file name to clipboardExpand all lines: packages/router/src/create_url_tree.ts+9-9Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
186 | 186 | |
187 | 187 | |
188 | 188 | |
189 | | - |
190 | | - |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
195 | | - |
196 | 189 | |
197 | 190 | |
198 | 191 | |
| ||
259 | 252 | |
260 | 253 | |
261 | 254 | |
262 | | - |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
263 | 263 | |
264 | 264 | |
265 | 265 | |
| ||
298 | 298 | |
299 | 299 | |
300 | 300 | |
301 | | - |
| 301 | + |
302 | 302 | |
303 | 303 | |
304 | 304 | |
|
Collapse file
packages/router/test/create_url_tree.spec.ts
Copy file name to clipboardExpand all lines: packages/router/test/create_url_tree.spec.ts+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
150 | 150 | |
151 | 151 | |
152 | 152 | |
153 | | - |
| 153 | + |
154 | 154 | |
155 | 155 | |
156 | 156 | |
157 | 157 | |
158 | 158 | |
159 | | - |
| 159 | + |
160 | 160 | |
161 | 161 | |
162 | 162 | |
|
0 commit comments