Skip to content

Commit

Permalink
Merge branch 'master' into feature/bean-schema-aware
Browse files Browse the repository at this point in the history
  • Loading branch information
tonydamage committed Mar 1, 2021
2 parents aff2a02 + 268cf1d commit b82834b
Show file tree
Hide file tree
Showing 76 changed files with 1,465 additions and 2,981 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected void customInitLayout(WebMarkupContainer parentInfoBox, IModel<InfoBox

@Override
public boolean isVisible() {
return model.getObject().getProgress() != null;
return model.getObject() != null && model.getObject().getProgress() != null;
}
});
ProgressbarPanel progressBar = new ProgressbarPanel(ID_PROGRESS_BAR, new PropertyModel<>(model, InfoBoxType.PROGRESS));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author katkav
* @author semancik
*/
public abstract class InfoBoxPanel extends Panel{
public abstract class InfoBoxPanel extends Panel {
private static final long serialVersionUID = 1L;

private static final String ID_INFO_BOX = "infoBox";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016 Evolveum and contributors
* Copyright (c) 2016-2021 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
Expand All @@ -12,7 +12,7 @@
* @author katkav
* @author semancik
*/
public class InfoBoxType implements Serializable{
public class InfoBoxType implements Serializable {
private static final long serialVersionUID = 1L;

public static final String ICON_BACKGROUND_COLOR = "iconBackgroundColor";
Expand Down

0 comments on commit b82834b

Please sign in to comment.