Commit 46c3a88
committed
fix(webapp): keep preview deployments enabled when the plan gates it
With the Preview environment gated by plan there is no toggle to submit, so
saving Git settings sent no previewDeploymentsEnabled value and the schema
transformed the absence into false, silently clearing a setting the user could
not see. A hidden input now carries the persisted value through the save.
Pre-existing: the toggle it replaced was rendered unchecked and disabled when
gated, so it submitted nothing either.1 parent 55daf2e commit 46c3a88
1 file changed
Lines changed: 13 additions & 8 deletions
File tree
- apps/webapp/app/routes
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
1000 | 1005 | | |
1001 | 1006 | | |
1002 | 1007 | | |
| |||
0 commit comments