Browse Source

fix alert message

kaori 4 years ago
parent
commit
eb5f915ffa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/app/src/components/Admin/AdminHome/AdminHome.jsx

+ 2 - 2
packages/app/src/components/Admin/AdminHome/AdminHome.jsx

@@ -42,8 +42,8 @@ class AdminHome extends React.Component {
     return (
     return (
       <Fragment>
       <Fragment>
         {
         {
-          // not show if true
-          !isV5Compatible
+          // Alert message will be displayed in case that V5 migration has not compleated yet
+          (isV5Compatible != null && !isV5Compatible)
           && (
           && (
             <div className={`alert ${alertStyle}`}>
             <div className={`alert ${alertStyle}`}>
               {t('admin:v5_page_migration.migration_desc')}
               {t('admin:v5_page_migration.migration_desc')}