|
1 | 1 | import {FeatureBadge} from 'sentry/components/core/badge/featureBadge';
|
2 | 2 | import {t} from 'sentry/locale';
|
3 |
| -import ConfigStore from 'sentry/stores/configStore'; |
4 | 3 | import HookStore from 'sentry/stores/hookStore';
|
5 | 4 | import type {Organization} from 'sentry/types/organization';
|
6 | 5 | import {hasDynamicSamplingCustomFeature} from 'sentry/utils/dynamicSampling/features';
|
@@ -80,6 +79,12 @@ export function getUserOrgNavigationConfiguration({
|
80 | 79 | description: t('Configure general settings for an organization'),
|
81 | 80 | id: 'general',
|
82 | 81 | },
|
| 82 | + { |
| 83 | + path: `${organizationSettingsPathPrefix}/stats/`, |
| 84 | + title: t('Stats & Usage'), |
| 85 | + description: t('View organization stats and usage'), |
| 86 | + id: 'stats', |
| 87 | + }, |
83 | 88 | {
|
84 | 89 | path: `${organizationSettingsPathPrefix}/projects/`,
|
85 | 90 | title: t('Projects'),
|
@@ -178,13 +183,6 @@ export function getUserOrgNavigationConfiguration({
|
178 | 183 | show: ({organization}) =>
|
179 | 184 | !!organization && organization.features.includes('feature-flag-ui'),
|
180 | 185 | },
|
181 |
| - { |
182 |
| - path: `${organizationSettingsPathPrefix}/stats/`, |
183 |
| - title: t('Stats & Usage'), |
184 |
| - description: t('View organization stats and usage'), |
185 |
| - id: 'stats', |
186 |
| - show: () => ConfigStore.get('user')?.options?.prefersStackedNavigation ?? false, |
187 |
| - }, |
188 | 186 | ],
|
189 | 187 | },
|
190 | 188 | {
|
|
0 commit comments