Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanzhou11 committed Dec 9, 2024
1 parent cd00c53 commit 145947d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public DSSWorkspaceHomePageVO getWorkspaceHomePage(String userName, String modul
String homepageUrl = "/workspaceHome?workspaceId=" + workspaceIds.get(0);
DSSWorkspace defaultWorkspace = dssWorkspaces.stream()
.filter(workspcae -> workspcae.getName().equalsIgnoreCase(ApplicationConf.HOMEPAGE_DEFAULT_WORKSPACE.getValue())).findAny().orElse(null);
if(ObjectUtil.isEmpty(defaultWorkspace)){
if(ObjectUtil.isNotEmpty(defaultWorkspace)){
homepageUrl = "/workspaceHome?workspaceId=" + defaultWorkspace.getId();
}

Expand Down

0 comments on commit 145947d

Please sign in to comment.