diff --git a/app/model/FeatureSwitches.scala b/app/model/FeatureSwitches.scala index e504385c714..77f40b606e9 100644 --- a/app/model/FeatureSwitches.scala +++ b/app/model/FeatureSwitches.scala @@ -26,18 +26,10 @@ object PageViewDataVisualisation enabled = true ) -object HeadlineABTesting - extends FeatureSwitch( - key = "headline-ab-testing", - title = "Enable toggle switch for AB testing headlines", - enabled = false - ) - object FeatureSwitches { val all: List[FeatureSwitch] = List( ObscureFeed, - PageViewDataVisualisation, - HeadlineABTesting + PageViewDataVisualisation ) def updateFeatureSwitchesForUser( diff --git a/fronts-client/src/components/FrontsEdit/CollectionComponents/Collection.tsx b/fronts-client/src/components/FrontsEdit/CollectionComponents/Collection.tsx index 760a58604d2..47e60c859a4 100644 --- a/fronts-client/src/components/FrontsEdit/CollectionComponents/Collection.tsx +++ b/fronts-client/src/components/FrontsEdit/CollectionComponents/Collection.tsx @@ -45,7 +45,6 @@ import LoadingGif from 'images/icons/loading.gif'; import OpenFormsWarning from './OpenFormsWarning'; import AbTestHeadlineWarning from './AbTestHeadlineWarning'; import { createSelectActiveAbTestHeadlineErrorsForCollection } from 'selectors/collection'; -import { selectFeatureValue } from 'selectors/featureSwitchesSelectors'; import { selectors as editionsIssueSelectors } from '../../../bundles/editionsIssueBundle'; import { moveFrontCollection } from '../../../actions/Editions'; @@ -234,6 +233,8 @@ class Collection extends React.Component { const groupIds = groups.map((group) => group.uuid); + const isUSNetworkFront = frontId === 'us'; + return ( <> { )} - {hasAbTestHeadlineErrors && this.state.showFormWarnings && ( - - - - )} + {hasAbTestHeadlineErrors && + isUSNetworkFront && + this.state.showFormWarnings && ( + + + + )}