Skip to content

Commit

Permalink
Merge branch 'feature/shibui-1743' of bitbucket.org:unicon/shib-idp-u…
Browse files Browse the repository at this point in the history
…i into feature/shibui-1743
  • Loading branch information
chasegawa committed Aug 31, 2021
2 parents 2cfa5b7 + c2cb500 commit c1e8bed
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 c1e8bed

Please sign in to comment.