Skip to content

Commit

Permalink
Fix logical error
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Aug 3, 2024
1 parent 0446a6a commit 71048b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/core/adapters/onyxiaApi/default/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,14 @@ export function createOnyxiaApi(params: {
"visibility": (() => {
if (
!apiCatalog.visible.project &&
!apiCatalog.visible.project
!apiCatalog.visible.user
) {
return undefined;
}

if (
apiCatalog.visible.project &&
apiCatalog.visible.project
apiCatalog.visible.user
) {
return "always" as const;
}
Expand Down

0 comments on commit 71048b0

Please sign in to comment.