Skip to content

Commit

Permalink
fix: boolean expression
Browse files Browse the repository at this point in the history
  • Loading branch information
JordenReuter committed Apr 18, 2024
1 parent 9910a1d commit 666a05d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ default MenuItem updateUrl(MenuItem menuItem, String workspaceUrl) {
}

default String updateInternalUrl(String workspaceUrl, String menuItemUrl, Boolean isExternal) {
if (!isExternal) {
return workspaceUrl + menuItemUrl;
} else {
if (Boolean.TRUE.equals(isExternal)) {
return menuItemUrl;
} else {
return workspaceUrl + menuItemUrl;
}
}

Expand Down

0 comments on commit 666a05d

Please sign in to comment.