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

Merge pull request #768 from BoostIO/fix-infoPanel-layout-in-trash

Fixed InfoPanel layout in Trash
This commit is contained in:
SuenagaRyota
2017-08-10 16:52:07 +09:00
committed by GitHub
5 changed files with 103 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ import AwsMobileAnalyticsConfig from 'browser/main/lib/AwsMobileAnalyticsConfig'
import TrashButton from './TrashButton'
import InfoButton from './InfoButton'
import InfoPanel from './InfoPanel'
import InfoPanelTrashed from './InfoPanelTrashed'
import { formatDate } from 'browser/lib/date-formatter'
const electron = require('electron')
@@ -300,10 +301,9 @@ class MarkdownNoteDetail extends React.Component {
<InfoButton
onClick={(e) => this.handleInfoButtonClick(e)}
/>
<InfoPanel
<InfoPanelTrashed
storageName={currentOption.storage.name}
folderName={currentOption.folder.name}
noteLink={`[${note.title}](${location.query.key})`}
updatedAt={formatDate(note.updatedAt)}
createdAt={formatDate(note.createdAt)}
exportAsMd={this.exportAsMd}