diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c062b8a163..8c4244a0563 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ 1. [15777](https://github.com/influxdata/influxdb/pull/15777): Fix long startup when running 'influx help' 1. [15713](https://github.com/influxdata/influxdb/pull/15713): Mock missing Flux dependencies when creating tasks 1. [15731](https://github.com/influxdata/influxdb/pull/15731): Ensure array cursor iterator stats accumulate all cursor stats +1. [15866](https://github.com/influxdata/influxdb/pull/15866): Do not sure Members section in Cloud environments ### UI Improvements 1. [15809](https://github.com/influxdata/influxdb/pull/15809): Redesign cards and animations on getting started page diff --git a/ui/src/pageLayout/containers/Nav.tsx b/ui/src/pageLayout/containers/Nav.tsx index ca33070e436..437d75944e4 100644 --- a/ui/src/pageLayout/containers/Nav.tsx +++ b/ui/src/pageLayout/containers/Nav.tsx @@ -12,7 +12,7 @@ import CloudExclude from 'src/shared/components/cloud/CloudExclude' import CloudOnly from 'src/shared/components/cloud/CloudOnly' // Constants -import {HOMEPAGE_PATHNAME} from 'src/shared/constants' +import {CLOUD, HOMEPAGE_PATHNAME} from 'src/shared/constants' // Utils import {getNavItemActivation} from 'src/pageLayout/utils' @@ -76,9 +76,10 @@ class SideNav extends PureComponent { const tokensLink = `${orgPrefix}/load-data/tokens` const clientLibrariesLink = `${orgPrefix}/load-data/client-libraries` // Settings - const settingsLink = `${orgPrefix}/settings/members` const membersLink = `${orgPrefix}/settings/members` const variablesLink = `${orgPrefix}/settings/variables` + const settingsLink = + CLOUD === false ? `${orgPrefix}/settings/members` : variablesLink // don't show members link in cloud - go to variables instead const templatesLink = `${orgPrefix}/settings/templates` const labelsLink = `${orgPrefix}/settings/labels` const profileLink = `${orgPrefix}/settings/profile` @@ -253,15 +254,17 @@ class SideNav extends PureComponent { )} active={getNavItemActivation(['settings'], location.pathname)} > - ( - - Members - - )} - active={getNavItemActivation(['members'], location.pathname)} - key="members" - /> + + ( + + Members + + )} + active={getNavItemActivation(['members'], location.pathname)} + key="members" + /> + ( diff --git a/ui/src/settings/components/SettingsNavigation.tsx b/ui/src/settings/components/SettingsNavigation.tsx index fcf2252901a..55e318cdf0c 100644 --- a/ui/src/settings/components/SettingsNavigation.tsx +++ b/ui/src/settings/components/SettingsNavigation.tsx @@ -36,7 +36,7 @@ class SettingsNavigation extends PureComponent { { text: 'Members', id: 'members', - cloudExclude: false, + cloudExclude: true, }, { text: 'Variables',