File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed 
src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/components Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ const SelectionButton = ({ nodeKey }: { nodeKey: string }) => {
7272        < Button 
7373            appearance = "transparent" 
7474            icon = { nodeKey  ===  selectedScenarioLevel  ? < RadioButtonFilled  />  : < RadioButtonRegular  /> } 
75-             onClick = { ( evt )  =>  { 
76-                 evt . stopPropagation ( ) ; 
75+             onClick = { ( event :  React . MouseEvent )  =>  { 
76+                 event . stopPropagation ( ) ; 
7777                selectScenarioLevel ( nodeKey ) ; 
7878            } } 
7979            aria-label = "Select" 
@@ -111,9 +111,9 @@ const ScoreNodeHeader = ({ item, showPrompt }:
111111
112112    return  ( < div  className = { headerClass } > 
113113        { scoreSummary . includesReportHistory  &&  < SelectionButton  nodeKey = { item . nodeKey }  /> } 
114-         < PassFailBar  pass = { ctPass }  total = { ctPass  +  ctFail }  width = "24px"  height = "12px"   
115-             selected = { item . nodeKey  ==  selectedScenarioLevel }   
116-             onClick = { ( event )  =>  { 
114+         < PassFailBar  pass = { ctPass }  total = { ctPass  +  ctFail }  width = "24px"  height = "12px" 
115+             selected = { item . nodeKey  ==  selectedScenarioLevel } 
116+             onClick = { ( event :  React . MouseEvent )  =>  { 
117117                if  ( scoreSummary . includesReportHistory )  { 
118118                    event . stopPropagation ( ) ; 
119119                    selectScenarioLevel ( item . nodeKey ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments