Skip to content

Commit

Permalink
Fix old parameter compared with itself in HtmlRender (#547)
Browse files Browse the repository at this point in the history
Co-authored-by: Nithin Tatikonda <nithin.t@versa-networks.com>
  • Loading branch information
nithintatikonda1 and Nithin Tatikonda authored Jul 25, 2023
1 parent 5a54a6a commit 37b2d06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ private LiTag li_changedParam(ChangedParameter changeParam) {
.map(ChangedMetadata::isDifferent)
.orElse(false);
Parameter rightParam = changeParam.getNewParameter();
Parameter leftParam = changeParam.getNewParameter();
Parameter leftParam = changeParam.getOldParameter();
LiTag li = li().withText(changeParam.getName() + " in " + changeParam.getIn());
if (changeRequired) {
li.withText(" change into " + (rightParam.getRequired() ? "required" : "not required"));
Expand Down

0 comments on commit 37b2d06

Please sign in to comment.