1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

modify: move updated string to the bottom of note detail component

This commit is contained in:
sota1235
2017-01-14 14:54:08 +09:00
parent f0fcaa6be7
commit 297553c240
4 changed files with 9 additions and 5 deletions

View File

@@ -2,6 +2,7 @@ import React, { PropTypes } from 'react'
import CSSModules from 'browser/lib/CSSModules'
import styles from './StatusBar.styl'
import ZoomManager from 'browser/main/lib/ZoomManager'
import LastUpdatedString from '../Detail/LastUpdatedString'
const electron = require('electron')
const { remote, ipcRenderer } = electron
@@ -67,6 +68,8 @@ class StatusBar extends React.Component {
</button>
: null
}
<LastUpdatedString date={this.props.date} />
</div>
)
}
@@ -76,7 +79,8 @@ StatusBar.contextTypes = {
status: PropTypes.shape({
updateReady: PropTypes.bool.isRequired
}).isRequired,
config: PropTypes.shape({}).isRequired
config: PropTypes.shape({}).isRequired,
date: PropTypes.string
}
StatusBar.propTypes = {