File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { SyncJobQuery } from '../models/SyncJobQuery';
1717import { ISourcePart } from '../models/ISourcePart' ;
1818import { SourcePartType } from '../models/SourcePartType' ;
1919import { SourcePartQuery } from '../models/SourcePartQuery' ;
20- import { isSourcePartValid } from '../utils/sourcePartUtils' ;
20+ import { isSourcePartValid , removeUnusedProperties } from '../utils/sourcePartUtils' ;
2121
2222export interface ManageMembershipState {
2323 loadingSearchResults : boolean ;
@@ -362,6 +362,6 @@ export const manageMembershipShowDecreaseDropdown = (state: RootState) => state.
362362export default manageMembershipSlice . reducer ;
363363
364364export function buildCompositeQuery ( sourceParts : ISourcePart [ ] ) : SyncJobQuery {
365- const compositeQuery : SyncJobQuery = sourceParts . map ( part => part . query ) ;
365+ const compositeQuery : SyncJobQuery = sourceParts . map ( part => removeUnusedProperties ( part . query ) ) ;
366366 return compositeQuery ;
367367}
You can’t perform that action at this time.
0 commit comments