Jason Chuang 1 hafta önce
ebeveyn
işleme
6e7d104757
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +5
    -1
      src/pages/authentication/AuthWrapper.js

+ 5
- 1
src/pages/authentication/AuthWrapper.js Dosyayı Görüntüle

@@ -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>
) : (
''
)}


Yükleniyor…
İptal
Kaydet