Jason Chuang 1 неделю назад
Родитель
Сommit
6ef6bec05d
1 измененных файлов: 5 добавлений и 1 удалений
  1. +5
    -1
      src/pages/authentication/AuthWrapper.js

+ 5
- 1
src/pages/authentication/AuthWrapper.js Просмотреть файл

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


Загрузка…
Отмена
Сохранить