Commit 924e124
committed
feat(admin): pre-select the only source blog when exactly one exists
If the current blog has just one MSLS-active sibling, the 'pick a
source' step adds no value — the list is already unambiguous. Treats
that single source as selected when the URL has no msls_source set, so
the user lands directly on the list of untranslated posts.
The source flag for that blog still renders in the active state, so the
UI truthfully reflects which blog is driving the list.1 parent f1fd0e6 commit 924e124
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
227 | 233 | | |
228 | 234 | | |
229 | 235 | | |
| |||
0 commit comments