Skip to content

Commit

Permalink
Fixed issue 2056
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Aug 30, 2021
1 parent a4acf7e commit c2cb500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MetadataFilterTypes } from '../../filter';
export const BaseProviderDefinition = {
schemaPreprocessor: metadataFilterProcessor,
validator: (data = [], current = { resourceId: null }, group) => {
const providers = data.filter(p => p.resourceId !== current.resourceId);
const providers = data.filter(p => p.resourceId !== current?.resourceId);
const names = providers.map(s => s.name);
const ids = providers.map(s => s.xmlId);

Expand Down

0 comments on commit c2cb500

Please sign in to comment.