File tree Expand file tree Collapse file tree
src/views/create-solutions/view/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,9 +147,7 @@ export const HardwareRow = (props: HardwareRowProps) => {
147147 noEntriesMessage = { getNoEntriesFoundAsyncStatus ( state . hardwareLists , 'Board' ) }
148148 treeViewList = { boardsList }
149149 onChange = { ( val : string ) => { dispatch ( { type : 'SET_BOARD_TREE_VIEW_SEARCH' , search : val } ) ; } }
150- onSelect = { ( item : BoardHardwareOption ) => {
151- dispatch ( { type : 'SET_BOARD_PREVIEW' , boardPreview : item } ) ;
152- } }
150+ onSelect = { ( item : BoardHardwareOption ) => { dispatch ( { type : 'SET_BOARD_PREVIEW' , boardPreview : item } ) ; } }
153151 onClear = { state . boardSelection . value ? clearSelection : undefined }
154152 onOpen = { props . onOpen }
155153 onClose = { props . onClose }
@@ -165,9 +163,7 @@ export const HardwareRow = (props: HardwareRowProps) => {
165163 treeViewList = { devicesList }
166164 noEntriesMessage = { getNoEntriesFoundAsyncStatus ( state . hardwareLists , 'Device' ) }
167165 onChange = { ( val : string ) => { dispatch ( { type : 'SET_DEVICE_TREE_VIEW_SEARCH' , search : val } ) ; } }
168- onSelect = { ( item : DeviceHardwareOption ) => {
169- dispatch ( { type : 'SET_DEVICE_PREVIEW' , devicePreview : item } ) ;
170- } }
166+ onSelect = { ( item : DeviceHardwareOption ) => { dispatch ( { type : 'SET_DEVICE_PREVIEW' , devicePreview : item } ) ; } }
171167 itemPredicate = { state . boardSelection . value && state . boardSelection . value . mountedDevices . length > 0 ?
172168 ( item : TreeViewItem < DeviceHardwareOption > ) =>
173169 ! ! state . boardSelection . value ?. mountedDevices . some ( md => compareDeviceId ( md . id ) ( item . value . id ) )
You can’t perform that action at this time.
0 commit comments