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

Merge pull request #716 from asmsuechan/change-note-link-content

Change ["title"](note-hash) to [the exact title](note-hash)
This commit is contained in:
SuenagaRyota
2017-07-22 15:01:04 +09:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -349,7 +349,7 @@ class MarkdownNoteDetail extends React.Component {
<InfoPanel
storageName={currentOption.storage.name}
folderName={currentOption.folder.name}
noteLink={`[title](${location.query.key})`}
noteLink={`[${note.title}](${location.query.key})`}
updatedAt={formatDate(note.updatedAt)}
createdAt={formatDate(note.createdAt)}
/>

View File

@@ -588,7 +588,7 @@ class SnippetNoteDetail extends React.Component {
<InfoPanel
storageName={currentOption.storage.name}
folderName={currentOption.folder.name}
noteLink={`[title](${location.query.key})`}
noteLink={`[${note.title}](${location.query.key})`}
updatedAt={formatDate(note.updatedAt)}
createdAt={formatDate(note.createdAt)}
/>