Commit e6bf948
fix(web): don't leave an empty profile behind when import can't start
`importInto` created the target profile before `runImport` checked for an
environment and a bridge, so choosing an import target before the environment
resolved left a new empty profile named after the source browser and produced
no toast at all. The check now happens first and says what went wrong.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 6b6e581 commit e6bf948
1 file changed
Lines changed: 11 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
660 | 671 | | |
661 | 672 | | |
662 | 673 | | |
| |||
0 commit comments