OSDN Git Service

update the version with the backend.
authorZhiting Lin <zlin035@uottawa.ca>
Thu, 23 Aug 2018 02:23:35 +0000 (10:23 +0800)
committerZhiting Lin <zlin035@uottawa.ca>
Thu, 23 Aug 2018 02:23:35 +0000 (10:23 +0800)
src/features/core/components/CoreIndex/CoreIndex.jsx

index fcb371b..b881e98 100644 (file)
@@ -75,7 +75,7 @@ class CoreIndex extends React.Component {
             <tbody>
             <tr className={styles.row}>
               <td className={styles.row_label}>{lang === 'zh' ? '核心版本号' : 'Core Versions'}:</td>
-              <td><code>{coreData? coreData['version'] : null}</code></td>
+              <td><code>{coreData? coreData['versionInfo']['version']: null}</code></td>
             </tr>
             <tr className={styles.row}>
               <td className={styles.row_label}>{lang === 'zh' ? '语言' : 'Language'}:</td>