Skip to content

Commit

Permalink
remove files only used in v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen committed May 2, 2024
1 parent 3ae6a07 commit d430473
Show file tree
Hide file tree
Showing 57 changed files with 23 additions and 13,897 deletions.
37 changes: 9 additions & 28 deletions dashboard/src/main/home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -486,37 +486,21 @@ const Home: React.FC<Props> = (props) => {

<Switch>
<Route path="/apps/new/app">
{currentProject?.validate_apply_v2 ? (
<ClusterContextProvider
clusterId={currentCluster?.id}
refetchInterval={0}
>
<CreateApp />
</ClusterContextProvider>
) : (
<NewAppFlow />
)}
<ClusterContextProvider
clusterId={currentCluster?.id}
refetchInterval={0}
>
<CreateApp />
</ClusterContextProvider>
</Route>
<Route path="/apps/:appName/:tab">
{currentProject?.validate_apply_v2 ? (
<AppView />
) : (
<ExpandedApp />
)}
<AppView />
</Route>
<Route path="/apps/:appName">
{currentProject?.validate_apply_v2 ? (
<AppView />
) : (
<ExpandedApp />
)}
<AppView />
</Route>
<Route path="/apps">
{currentProject?.validate_apply_v2 ? (
<Apps />
) : (
<AppDashboard />
)}
<Apps />
</Route>

<Route path="/environment-groups/new">
Expand Down Expand Up @@ -616,9 +600,6 @@ const Home: React.FC<Props> = (props) => {
"/jobs",
"/env-groups",
"/datastores",
...(!currentProject?.validate_apply_v2
? ["/preview-environments"]
: []),
"/stacks",
]}
render={() => {
Expand Down
Loading

0 comments on commit d430473

Please sign in to comment.