@@ -95,7 +95,7 @@ function nameForFilterObj(filter) {
95
95
if ( filter . ctid ) { nameStr += `CTID:${ filter . ctid } ` ; }
96
96
if ( filter . payload ) { nameStr += `payload contains '${ filter . payload } ' ` ; }
97
97
if ( filter . payloadRegex !== undefined ) { nameStr += `payload matches '${ filter . payloadRegex } '` ; }
98
- if ( filter . lifecycles !== undefined ) { nameStr += ` in ${ filter . lifecycles . length } LCs` ; }
98
+ if ( filter . lifecycles !== undefined ) { nameStr += ` in sel. LCs` ; }
99
99
100
100
return `${ enabled } ${ type } ${ nameStr } ` ;
101
101
}
@@ -154,7 +154,10 @@ function parseFilters(request, applyMode) {
154
154
commandList . push ( filterFromObj ( JSON . parse ( commandParams ) , true ) ) ;
155
155
break ;
156
156
case 'delete' :
157
- commandList . push ( { name : commandStr , restCommand : command , value : commandParams } ) ;
157
+ commandList . push ( { name : `delete=${ commandParams } ` , restCommand : command , value : commandParams } ) ;
158
+ break ;
159
+ case 'patch' :
160
+ commandList . push ( { name : `patch=${ commandParams } ` , restCommand : command , value : commandParams } ) ;
158
161
break ;
159
162
case 'report' :
160
163
const params = JSON . parse ( commandParams ) ;
@@ -422,7 +425,7 @@ export default function DLTFilterAssistantDialog(props) {
422
425
</ Grid >
423
426
</ Grid >
424
427
< Grid item >
425
- source:< React . Fragment > { dataSource ? dataSource . split ( '&' ) . map ( ( fra , index ) => < React . Fragment > < br /> { index > 0 ? < React . Fragment >  </ React . Fragment > : null } { index > 0 ? '&' + fra : fra } </ React . Fragment > ) : '' } </ React . Fragment >
428
+ source:< React . Fragment > { dataSource ? dataSource . split ( '&' ) . map ( ( fra , index ) => < React . Fragment > < br /> { index > 0 ? < React . Fragment >  </ React . Fragment > : null } { index > 0 ? '&' + decodeURIComponent ( fra ) : decodeURIComponent ( fra ) } </ React . Fragment > ) : '' } </ React . Fragment >
426
429
</ Grid >
427
430
< Grid item >
428
431
< Paper >
0 commit comments