Skip to content

Commit

Permalink
ConDec-383: Fix bug if sentence Icons are shown incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
Jcl15 committed Nov 5, 2018
1 parent fdc55d3 commit 9155c02
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ public static List<String> toList() {
}

public static String getIconUrl(DecisionKnowledgeElement element) {
if ( element instanceof Sentence){
return "";
if (element instanceof Sentence && !((Sentence)element).isRelevant()){
return ComponentGetter.getUrlOfImageFolder()+"Other.png";
}
switch(element.getType()) {
case OTHER:
Expand Down

0 comments on commit 9155c02

Please sign in to comment.