Skip to content

Commit

Permalink
chore: clean up in SetOrg container
Browse files Browse the repository at this point in the history
  • Loading branch information
blegesse-w committed Oct 28, 2024
1 parent 252d3d1 commit 9e59f51
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions src/shared/containers/SetOrg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ import {
UsersPage,
VariablesIndex,
VersionPage,
SubscriptionsLanding,
CreateSubscriptionForm,
WriteDataPage,
DetailsSubscriptionPage,
GoWizard,
CSharpWizard,
JavaWizard,
Expand Down Expand Up @@ -79,7 +76,6 @@ import {
CLIENT_LIBS,
TELEGRAF_PLUGINS,
SECRETS,
SUBSCRIPTIONS,
} from 'src/shared/constants/routes'

// Actions
Expand Down Expand Up @@ -264,32 +260,6 @@ const SetOrg: FC = () => {
path={`${orgPath}/${LOAD_DATA}/${BUCKETS}`}
component={BucketsIndex}
/>
{CLOUD && isFlagEnabled('subscriptionsUI') && (
<Route
path={`${orgPath}/${LOAD_DATA}/${SUBSCRIPTIONS}/create`}
component={CreateSubscriptionForm}
/>
)}
{CLOUD && isFlagEnabled('subscriptionsUI') && (
<Route
path={`${orgPath}/${LOAD_DATA}/${SUBSCRIPTIONS}/:id/notifications`}
render={props => (
<DetailsSubscriptionPage {...props} showNotifications={true} />
)}
/>
)}
{CLOUD && (
<Route
path={`${orgPath}/${LOAD_DATA}/${SUBSCRIPTIONS}/:id`}
component={DetailsSubscriptionPage}
/>
)}
{CLOUD && isFlagEnabled('subscriptionsUI') && (
<Route
path={`${orgPath}/${LOAD_DATA}/${SUBSCRIPTIONS}`}
component={SubscriptionsLanding}
/>
)}
{/* Settings */}
{shouldShowVariables && (
<Route
Expand Down

0 comments on commit 9e59f51

Please sign in to comment.