11import React , { Component } from 'react'
22import ConfirmRemoveProject from 'components/modals/ConfirmRemoveProject'
33import ConfirmHideFlags from 'components/modals/ConfirmHideFlags'
4- import MetadataPage from 'components/metadata/MetadataPage'
54import EditPermissions from 'components/EditPermissions'
65import Switch from 'components/Switch'
76import _data from 'common/data/base/_data'
@@ -25,6 +24,7 @@ import Setting from 'components/Setting'
2524import PlanBasedBanner from 'components/PlanBasedAccess'
2625import classNames from 'classnames'
2726import EditHealthProvider from 'components/EditHealthProvider'
27+ import WarningMessage from 'components/WarningMessage'
2828
2929const ProjectSettingsPage = class extends Component {
3030 static displayName = 'ProjectSettingsPage'
@@ -604,9 +604,27 @@ const ProjectSettingsPage = class extends Component {
604604 />
605605 </ TabItem >
606606 < TabItem tabLabel = 'Custom Fields' >
607- < MetadataPage
608- organisationId = { AccountStore . getOrganisation ( ) . id }
609- projectId = { this . props . match . params . projectId }
607+ < Row space className = 'mb-2 mt-4' >
608+ < Row >
609+ < h5 > Custom Fields</ h5 >
610+ </ Row >
611+ </ Row >
612+
613+ < WarningMessage
614+ warningMessage = {
615+ < span >
616+ Custom fields have been moved to { ' ' }
617+ < a
618+ href = { `/organisation/${
619+ AccountStore . getOrganisation ( ) ?. id
620+ } /settings?tab=custom-fields`}
621+ rel = 'noreferrer'
622+ >
623+ Organisation Settings
624+ </ a >
625+ .
626+ </ span >
627+ }
610628 />
611629 </ TabItem >
612630 { ! ! ProjectStore . getEnvs ( ) ?. length && (
0 commit comments