Parcourir la source

support dev message

CR023
Jason Chuang il y a 1 semaine
Parent
révision
6ef6bec05d
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. +5
    -1
      src/pages/authentication/AuthWrapper.js

+ 5
- 1
src/pages/authentication/AuthWrapper.js Voir le fichier

@@ -246,10 +246,14 @@ const AuthWrapper = ({ children }) => {
<Typography style={{ textAlign: 'center', fontSize: '1.8rem' }}>
<FormattedMessage id="PNSPS_fullname" />
</Typography>
{checkSysEnv() !== '' ? (
{checkSysEnv() === 'uat' ? (
<Typography style={{ color: 'red', textAlign: 'center', fontSize: '1.8rem' }}>
User Acceptance Test Environment
</Typography>
) : checkSysEnv() === 'dev' ? (
<Typography style={{ color: 'red', textAlign: 'center', fontSize: '1.8rem' }}>
Development Environment
</Typography>
) : (
''
)}


Chargement…
Annuler
Enregistrer