mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
This PR closes https://github.com/coder/coder/issues/16953. Reselecting a preset that was already the selected preset returned an undefined option to the onSelect function. We then tried to read an attribute of this undefined value. With this fix, we handle the undefined option correctly.