1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

fix: project settings title (#6011)

Small fix to the project settings title, correcting it and making it
consistent.
This commit is contained in:
Nuno Góis 2024-01-24 08:38:13 +00:00 committed by GitHub
parent e3fb3fd0be
commit 13a9b1bc13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ export const DeleteProjectForm = ({ featureCount }: IDeleteProjectForm) => {
return ( return (
<FormTemplate <FormTemplate
loading={loading} loading={loading}
title='Delete Project' title='Delete project'
description='' description=''
documentationLink='https://docs.getunleash.io/reference/projects' documentationLink='https://docs.getunleash.io/reference/projects'
documentationLinkLabel='Projects documentation' documentationLinkLabel='Projects documentation'

View File

@ -113,7 +113,7 @@ export const UpdateProject = ({ project }: IUpdateProject) => {
<StyledContainer isPro={isPro()}> <StyledContainer isPro={isPro()}>
<FormTemplate <FormTemplate
loading={loading} loading={loading}
title='General Settings' title='General settings'
description='Projects allows you to group feature toggles together in the management UI.' description='Projects allows you to group feature toggles together in the management UI.'
documentationLink='https://docs.getunleash.io/reference/projects' documentationLink='https://docs.getunleash.io/reference/projects'
documentationLinkLabel='Projects documentation' documentationLinkLabel='Projects documentation'

View File

@ -24,7 +24,7 @@ export const Settings = () => {
if (isOss()) { if (isOss()) {
return ( return (
<PageContent <PageContent
header={<PageHeader title='Access' />} header={<PageHeader title='General settings' />}
sx={{ justifyContent: 'center' }} sx={{ justifyContent: 'center' }}
> >
<PremiumFeature feature='project-settings' /> <PremiumFeature feature='project-settings' />
@ -34,7 +34,7 @@ export const Settings = () => {
if (!hasAccess([UPDATE_PROJECT, PROJECT_SETTINGS_READ], projectId)) { if (!hasAccess([UPDATE_PROJECT, PROJECT_SETTINGS_READ], projectId)) {
return ( return (
<PageContent header={<PageHeader title='Access' />}> <PageContent header={<PageHeader title='General settings' />}>
<Alert severity='error'> <Alert severity='error'>
You need project owner permissions to access this section. You need project owner permissions to access this section.
</Alert> </Alert>