Commit 255fbe5
committed
fix: bug in route registration
$routes and $routesOptions are not the same structure.
$routesOptions don't have route names.
If there are two routes having the same `from` but not the same name,
the route and the option were not connected correctly.1 parent 828230b commit 255fbe5
2 files changed
Lines changed: 43 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| |||
1239 | 1247 | | |
1240 | 1248 | | |
1241 | 1249 | | |
| 1250 | + | |
| 1251 | + | |
1242 | 1252 | | |
1243 | 1253 | | |
1244 | 1254 | | |
1245 | 1255 | | |
1246 | 1256 | | |
1247 | | - | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
1248 | 1260 | | |
1249 | 1261 | | |
1250 | 1262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
1192 | 1221 | | |
1193 | 1222 | | |
1194 | 1223 | | |
| |||
0 commit comments