(e: MouseEvent)
| 204 | }, [options, selectedModel]); |
| 205 | |
| 206 | function onClickAddModel(e: MouseEvent) { |
| 207 | e.stopPropagation(); |
| 208 | e.preventDefault(); |
| 209 | |
| 210 | closeDropDown(buttonRef.current); |
| 211 | |
| 212 | dispatch(setShowDialog(true)); |
| 213 | dispatch( |
| 214 | setDialogMessage( |
| 215 | <AddModelForm |
| 216 | onDone={() => { |
| 217 | dispatch(setShowDialog(false)); |
| 218 | }} |
| 219 | />, |
| 220 | ), |
| 221 | ); |
| 222 | } |
| 223 | |
| 224 | function onClickConfigureModels(e: React.MouseEvent) { |
| 225 | e.stopPropagation(); |
nothing calls this directly
no test coverage detected