diff --git a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js index c8d9f8f4..300120b7 100644 --- a/browser/main/Detail/MarkdownNoteDetail.js +++ b/browser/main/Detail/MarkdownNoteDetail.js @@ -305,6 +305,7 @@ class MarkdownNoteDetail extends React.Component { ) diff --git a/browser/main/StatusBar/index.js b/browser/main/StatusBar/index.js index d1dcec2e..34d8d00e 100644 --- a/browser/main/StatusBar/index.js +++ b/browser/main/StatusBar/index.js @@ -48,7 +48,8 @@ class StatusBar extends React.Component { render () { let { config, status } = this.context - const { location } = this.props + const { location, type } = this.props + const styleName = type === 'MARKDOWN_NOTE' ? 'note-hash-md' : 'note-hash-snippet' return (
-
#{location.query.key}
+
#{location.query.key}
{status.updateReady