Commit 1965d1b
committed
fix(webapp): Cancel button in API key regeneration dialog now closes the modal
The Cancel button was missing an onClick handler to close the modal dialog.
This caused confusing behavior where clicking Cancel would not dismiss the dialog.
Also added type="button" to prevent form submission since the button is inside a form.
Slack thread: https://triggerdotdev.slack.com/archives/C04CR1HUWBV/p17683233709535091 parent bb25340 commit 1965d1b
File tree
1 file changed
+5
-1
lines changed- apps/webapp/app/components/environments
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
0 commit comments