Skip to content

Commit

Permalink
MID-8679:fix for showing back button in AccessApplicationRoleStepPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Mar 31, 2023
1 parent 811b91a commit 47b6a25
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,4 @@ protected IModel<?> getSubTextModel() {
return createStringResource("PageRole.wizard.step.access.applicationRole.subText");
}

@Override
public VisibleEnableBehaviour getBackBehaviour() {
return VisibleEnableBehaviour.ALWAYS_INVISIBLE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,17 @@ protected void initLayout() {
private List<WizardStep> createBasicSteps() {
List<WizardStep> steps = new ArrayList<>();

steps.add(new BasicInformationStepPanel(getHelper().getDetailsModel()));
steps.add(new BasicInformationStepPanel(getHelper().getDetailsModel()){
@Override
public VisibleEnableBehaviour getBackBehaviour() {
return VisibleEnableBehaviour.ALWAYS_INVISIBLE;
}

@Override
protected boolean isExitButtonVisible() {
return true;
}
});

steps.add(new AccessApplicationRoleStepPanel(getHelper().getDetailsModel()){
@Override
Expand Down

0 comments on commit 47b6a25

Please sign in to comment.