Commit 8e333cb
committed
fix: avoid auto-applying OpenCode config on dropdown selection
Selecting a config in the OpenCode Configurations dropdown no longer
calls setDefaultConfig. The dropdown now only updates activeConfigName
so users can preview or edit a config without it being applied as the
default.
Also replaces the icon-only Star button with a labeled Apply button that
shows 'Applied' (outline, disabled) when the selected config is already
the default, making the apply action explicit and visible.1 parent 0b1d3b1 commit 8e333cb
1 file changed
Lines changed: 3 additions & 7 deletions
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | 641 | | |
646 | 642 | | |
647 | 643 | | |
| |||
687 | 683 | | |
688 | 684 | | |
689 | 685 | | |
690 | | - | |
691 | 686 | | |
| 687 | + | |
692 | 688 | | |
693 | 689 | | |
694 | 690 | | |
695 | | - | |
| 691 | + | |
696 | 692 | | |
697 | 693 | | |
698 | 694 | | |
| |||
0 commit comments