Skip to content

Commit

Permalink
Merge pull request Sage-Bionetworks#5603 from jay-hodgson/SWC-7208
Browse files Browse the repository at this point in the history
SWC-7208
  • Loading branch information
jay-hodgson authored Dec 9, 2024
2 parents 45f532a + fb4657a commit c225240
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class ErrorPageProps extends ReactComponentProps {
String type;
String message;
String entityId;
Double entityVersionNumber;
double entityVersion;

@JsFunction
public interface Callback {
Expand All @@ -32,8 +32,9 @@ public static ErrorPageProps create(
props.type = type;
props.message = message;
props.entityId = entityId;
props.entityVersionNumber =
entityVersion != null ? entityVersion.doubleValue() : null;
if (entityVersion != null) {
props.entityVersion = entityVersion.doubleValue();
}
props.gotoPlace = gotoPlace;
return props;
}
Expand Down

0 comments on commit c225240

Please sign in to comment.