Skip to content

Commit

Permalink
fix for MID-8803 View object data in role history displays role in wi…
Browse files Browse the repository at this point in the history
…zard
  • Loading branch information
KaterynaHonchar committed Sep 19, 2023
1 parent a52eb4d commit c3c21c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ protected DetailsFragment createDetailsFragment() {
return super.createDetailsFragment();
}

private boolean canShowWizard(SystemObjectsType archetype) {
return !isEditObject() && WebComponentUtil.hasArchetypeAssignment(
protected boolean canShowWizard(SystemObjectsType archetype) {
return !isHistoryPage() && !isEditObject() && WebComponentUtil.hasArchetypeAssignment(
getObjectDetailsModels().getObjectType(),
archetype.value());
}
Expand All @@ -128,4 +128,8 @@ protected void initFragmentLayout() {
}
};
}

protected boolean isHistoryPage() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,7 @@ public String getEventIdentifier() {
return String.valueOf(getPageParameters().get(EID_PARAMETER_LABEL));
}

protected boolean isHistoryPage() {
return true;
}
}

0 comments on commit c3c21c9

Please sign in to comment.