Commit 661fe8b
committed
Fix URL path issue when switching languages in example detail page
- Update URL handling to properly maintain language prefix when updating example parameters
- Add route change listener to handle language switching correctly
- Ensure example selection maintains correct URL structure with language prefixes
The fix ensures that when users switch languages on the example detail page, the URL parameters are handled correctly and no extra slashes are added before the ?id parameter.1 parent 09cb9d8 commit 661fe8b
1 file changed
+35
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
114 | 141 | | |
115 | 142 | | |
116 | 143 | | |
| |||
193 | 220 | | |
194 | 221 | | |
195 | 222 | | |
196 | | - | |
197 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
198 | 231 | | |
199 | 232 | | |
200 | 233 | | |
| |||
0 commit comments