Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Aug 8, 2024
1 parent 6260c3c commit 0c65a33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -22302,6 +22302,10 @@ func HandleGetUsecase(resp http.ResponseWriter, request *http.Request) {
//return
} else {
usecase.Success = true

if len(usecase.Name) == 0 {
usecase.Name = name
}
}

if len(user.ActiveOrg.Id) > 0 && usecase.Name != "Reporting" && len(usecase.Name) > 3 {
Expand Down

0 comments on commit 0c65a33

Please sign in to comment.