ソースを参照

support dev message

CR023
Jason Chuang 1週間前
コミット
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' }}>
<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>
) : (
''
)}


読み込み中…
キャンセル
保存