File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,6 +297,18 @@ class MarkdownNoteDetail extends React.Component {
297297 </ div >
298298 < div styleName = 'info-right' >
299299 < TrashButton onClick = { ( e ) => this . handleTrashButtonClick ( e ) } />
300+ < InfoButton
301+ onClick = { ( e ) => this . handleInfoButtonClick ( e ) }
302+ />
303+ < InfoPanel
304+ storageName = { currentOption . storage . name }
305+ folderName = { currentOption . folder . name }
306+ noteLink = { `[${ note . title } ](${ location . query . key } )` }
307+ updatedAt = { formatDate ( note . updatedAt ) }
308+ createdAt = { formatDate ( note . createdAt ) }
309+ exportAsMd = { this . exportAsMd }
310+ exportAsTxt = { this . exportAsTxt }
311+ />
300312 </ div >
301313 </ div >
302314
Original file line number Diff line number Diff line change @@ -556,6 +556,18 @@ class SnippetNoteDetail extends React.Component {
556556 </ div >
557557 < div styleName = 'info-right' >
558558 < TrashButton onClick = { ( e ) => this . handleTrashButtonClick ( e ) } />
559+ < InfoButton
560+ onClick = { ( e ) => this . handleInfoButtonClick ( e ) }
561+ />
562+ < InfoPanel
563+ storageName = { currentOption . storage . name }
564+ folderName = { currentOption . folder . name }
565+ noteLink = { `[${ note . title } ](${ location . query . key } )` }
566+ updatedAt = { formatDate ( note . updatedAt ) }
567+ createdAt = { formatDate ( note . createdAt ) }
568+ exportAsMd = { this . showWarning }
569+ exportAsTxt = { this . showWarning }
570+ />
559571 </ div >
560572 </ div >
561573
You can’t perform that action at this time.
0 commit comments