Skip to content

Commit

Permalink
fix of match for condition panel factory
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Aug 28, 2023
1 parent 270ce4c commit a62c9fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected Panel getPanel(PrismPropertyPanelContext<ExpressionType> panelCtx) {
@Override
public <IW extends ItemWrapper<?, ?>, VW extends PrismValueWrapper<?>> boolean match(IW wrapper, VW valueWrapper) {
return QNameUtil.match(ExpressionType.COMPLEX_TYPE, wrapper.getTypeName())
&& wrapper.getItemName().equivalent(MappingType.F_CONDITION);
&& wrapper.getItemName().getLocalPart().toLowerCase().contains(MappingType.F_CONDITION.getLocalPart());
}

@Override
Expand Down

0 comments on commit a62c9fb

Please sign in to comment.