Skip to content

Commit

Permalink
remove data connections tab when connection types is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
christianvogt committed Nov 1, 2024
1 parent 3a8fa6b commit 83c26d6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions frontend/src/pages/projects/screens/detail/ProjectDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,13 @@ const ProjectDetails: React.FC = () => {
component: <ConnectionsList />,
},
]
: []),
{
id: ProjectSectionID.DATA_CONNECTIONS,
title: 'Data connections',
component: <DataConnectionsList />,
},
: [
{
id: ProjectSectionID.DATA_CONNECTIONS,
title: 'Data connections',
component: <DataConnectionsList />,
},
]),
...(projectSharingEnabled && allowCreate
? [
{
Expand Down

0 comments on commit 83c26d6

Please sign in to comment.