Commit 1f2d913
Fleetbase CI
fix: rename top-level virtual route to track-order to resolve no-shadow-route-definition lint error
The ember/no-shadow-route-definition rule flagged the top-level
`virtual` route (path: '/:section/:slug') as shadowing the nested
`virtual` routes (path: '/:slug') inside orders, drivers, vehicles,
etc. While the routes are in entirely different URL namespaces at
runtime, the static linter cannot distinguish nesting depth and treats
any two routes with the same name and structurally identical dynamic
segment patterns as a conflict.
Fix: rename the top-level route from 'virtual' to 'track-order' (which
accurately describes its purpose — the Track Order login-screen button)
and update the two corresponding references in extension.js.1 parent 40dff75 commit 1f2d913
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments