Skip to content

Commit

Permalink
Hide featurebase from delegation (#3162)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano authored Dec 9, 2024
1 parent a4d63a2 commit 7ec20ec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { shouldForwardProps } from '~/components/shared/shouldForwardProps'
import { MyTeamMember as DomainMyTeamMember } from '~/domain/my-team'
import Feature from './shared/components/Feature'
import { useUserScope } from '~/redux/user/hooks'
import { FeatureEnum } from '~/models/feature.enum'

const Title = styled(
Typography,
Expand Down Expand Up @@ -46,7 +47,7 @@ const messages = {
'En déléguant vos accès, ce membre de votre équipe agira en votre nom depuis cet espace d’administration.',
}

const skippedFeatures = ['mobile_app']
const skippedFeatures = ['mobile_app', FeatureEnum.FEATUREBASE]

const CreateEditDelegatedAccess = ({ delegatedFeatures = [], updateDelegatedFeatures }) => {
const [currentScope] = useUserScope()
Expand Down

0 comments on commit 7ec20ec

Please sign in to comment.