File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -1263,6 +1263,29 @@ const Matching = () => {
12631263 control = { < Switch disabled = { ! showMatchSummary || selectedRowStatus === 'unmapped' } size = "small" checked = { selectedMatchBucket === 'very_high' } onChange = { ( ) => onMatchTypeChange ( 'very_high' ) } /> }
12641264 label = { `Auto Match (${ ( matchTypes . very_high || 0 ) . toLocaleString ( ) } )` }
12651265 />
1266+ {
1267+ selectedRowStatus === 'unmapped' &&
1268+ < Chip
1269+ label = { `Rejected (${ keys ( pickBy ( decisions , value => value === 'rejected' ) ) . length } )` }
1270+ color = 'error'
1271+ size = 'small'
1272+ variant = { decisionFilters . includes ( 'rejected' ) ? 'contained' : 'outlined' }
1273+ icon = {
1274+ decisionFilters . includes ( 'rejected' ) ?
1275+ < CloseIcon fontSize = 'inherit' /> :
1276+ < DoneIcon fontSize = 'inherit' />
1277+ }
1278+ onClick = {
1279+ ( ) => setDecisionFilters (
1280+ decisionFilters . includes ( 'rejected' ) ?
1281+ without ( decisionFilters , 'rejected' ) :
1282+ [ ...decisionFilters , 'rejected' ]
1283+ )
1284+ }
1285+ sx = { { marginLeft : '10px' } }
1286+ />
1287+
1288+ }
12661289 {
12671290 [ 'reviewed' , 'readyForReview' ] . includes ( selectedRowStatus ) &&
12681291 < React . Fragment >
You can’t perform that action at this time.
0 commit comments