@@ -702,7 +702,7 @@ export default function SearchGroups() {
702702 { fullSearchStore [ group . key ] && < div className = "flex-grow flex flex-col" >
703703 < div > Manually labeled</ div >
704704 { fullSearchStore [ group . key ] . groupElements [ 'manualLabels' ] && fullSearchStore [ group . key ] . groupElements [ 'manualLabels' ] . length == 0 ? ( < ButtonLabelsDisabled /> ) : (
705- < Dropdown2 options = { fullSearchStore [ group . key ] . groupElements [ 'manualLabels' ] ?? [ ] } buttonName = { manualLabels . length == 0 ? 'None selected' : manualLabels . join ( ',' ) } hasCheckboxesThreeStates = { true } keepDrownOpen = { true }
705+ < Dropdown2 options = { fullSearchStore [ group . key ] . groupElements [ 'manualLabels' ] ?? [ ] } buttonName = { manualLabels . length == 0 ? 'None selected' : manualLabels . join ( ', ' ) } hasCheckboxesThreeStates = { true } keepDrownOpen = { true }
706706 selectedOption = { ( option : any ) => {
707707 const labels = [ ...manualLabels , option . name ]
708708 setManualLabels ( labels ) ;
@@ -712,7 +712,7 @@ export default function SearchGroups() {
712712
713713 < div className = "mt-2" > Weakly supervised</ div >
714714 { fullSearchStore [ group . key ] . groupElements [ 'weakSupervisionLabels' ] && fullSearchStore [ group . key ] . groupElements [ 'weakSupervisionLabels' ] . length == 0 ? ( < ButtonLabelsDisabled /> ) : (
715- < Dropdown2 options = { fullSearchStore [ group . key ] . groupElements [ 'weakSupervisionLabels' ] ?? [ ] } buttonName = { weakSupervisionLabels . length == 0 ? 'None selected' : weakSupervisionLabels . join ( ',' ) } hasCheckboxesThreeStates = { true }
715+ < Dropdown2 options = { fullSearchStore [ group . key ] . groupElements [ 'weakSupervisionLabels' ] ?? [ ] } buttonName = { weakSupervisionLabels . length == 0 ? 'None selected' : weakSupervisionLabels . join ( ', ' ) } hasCheckboxesThreeStates = { true }
716716 selectedOption = { ( option : any ) => {
717717 const labels = [ ...weakSupervisionLabels , option . name ]
718718 setWeakSupervisionLabels ( labels ) ;
@@ -740,7 +740,7 @@ export default function SearchGroups() {
740740
741741 < div className = "mt-2" > Model callback</ div >
742742 { fullSearchStore [ group . key ] . groupElements [ 'modelCallbackLabels' ] && fullSearchStore [ group . key ] . groupElements [ 'modelCallbackLabels' ] . length == 0 ? ( < ButtonLabelsDisabled /> ) : (
743- < Dropdown2 options = { fullSearchStore [ group . key ] . groupElements [ 'modelCallbackLabels' ] ?? [ ] } buttonName = { modelCallBacksLabels . length == 0 ? 'None selected' : modelCallBacksLabels . join ( ',' ) } hasCheckboxesThreeStates = { true }
743+ < Dropdown2 options = { fullSearchStore [ group . key ] . groupElements [ 'modelCallbackLabels' ] ?? [ ] } buttonName = { modelCallBacksLabels . length == 0 ? 'None selected' : modelCallBacksLabels . join ( ', ' ) } hasCheckboxesThreeStates = { true }
744744 selectedOption = { ( option : any ) => {
745745 const labels = [ ...modelCallBacksLabels , option . name ]
746746 setModelCallBacksLabels ( labels ) ;
0 commit comments