OSDN Git Service

change mockhsm to keys on page
authorYongfeng LI <wliyongfeng@gmail.com>
Tue, 2 Jan 2018 09:39:15 +0000 (17:39 +0800)
committerYongfeng LI <wliyongfeng@gmail.com>
Tue, 2 Jan 2018 09:39:15 +0000 (17:39 +0800)
src/features/app/components/Navigation/Navigation.jsx
src/features/mockhsm/components/List.jsx
src/features/mockhsm/components/New.jsx
src/features/mockhsm/routes.js

index 706b71f..92af5a7 100644 (file)
@@ -59,7 +59,7 @@ class Navigation extends React.Component {
           <li>
             <Link to='/mockhsms' activeClassName={styles.active}>
               {navIcon('mockhsm', styles)}
-              MockHSM
+              Keys
             </Link>
           </li>
           }
index 98f355a..3f71d6a 100644 (file)
@@ -7,7 +7,7 @@ const type = 'mockhsm'
 export default BaseList.connect(
   BaseList.mapStateToProps(type, ListItem, {
     skipQuery: true,
-    label: 'MockHSM keys',
+    label: 'Keys',
     wrapperComponent: TableList,
     wrapperProps: {
       titles: ['Alias', 'xpub']
index 7813507..87cae41 100644 (file)
@@ -27,7 +27,7 @@ class New extends React.Component {
     return(
       <FormContainer
         error={error}
-        label='New MockHSM key'
+        label='New key'
         onSubmit={handleSubmit(this.submitWithErrors)}
         submitting={submitting} >
 
index a740543..c7c0ff5 100644 (file)
@@ -1,4 +1,4 @@
 import { List, New } from './components'
 import { makeRoutes } from 'features/shared'
 
-export default (store) => makeRoutes(store, 'mockhsm', List, New, null, null, { skipFilter: true, name: 'MockHSM keys' })
+export default (store) => makeRoutes(store, 'mockhsm', List, New, null, null, { skipFilter: true, name: 'Keys' })