1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Merge pull request #708 from asmsuechan/change-note-hash

Change noteHash to noteLink in the input in InfoPanel
This commit is contained in:
SuenagaRyota
2017-07-15 16:57:55 +09:00
committed by GitHub
3 changed files with 14 additions and 4 deletions

View File

@@ -582,6 +582,16 @@ class SnippetNoteDetail extends React.Component {
>
<i className='fa fa-arrows-alt' styleName='fullScreen-button' />
</button>
<InfoButton
onClick={(e) => this.handleInfoButtonClick(e)}
/>
<InfoPanel
storageName={currentOption.storage.name}
folderName={currentOption.folder.name}
noteLink={`[title](${location.query.key})`}
updatedAt={formatDate(note.updatedAt)}
createdAt={formatDate(note.createdAt)}
/>
</div>
</div>