diff --git a/ElectronClient/app/gui/NotePropertiesDialog.jsx b/ElectronClient/app/gui/NotePropertiesDialog.jsx index 69267b134a..76fe03814e 100644 --- a/ElectronClient/app/gui/NotePropertiesDialog.jsx +++ b/ElectronClient/app/gui/NotePropertiesDialog.jsx @@ -33,6 +33,7 @@ class NotePropertiesDialog extends React.Component { location: _('Location'), source_url: _('URL'), revisionsLink: _('Note History'), + markup_language: _('Markup'), }; } @@ -82,6 +83,7 @@ class NotePropertiesDialog extends React.Component { } formNote.revisionsLink = note.id; + formNote.markup_language = Note.markupLanguageToLabel(note.markup_language); formNote.id = note.id; return formNote; @@ -292,7 +294,7 @@ class NotePropertiesDialog extends React.Component { controlComp =
{displayedValue}
} - if (key !== 'id' && key !== 'revisionsLink') { + if (['id', 'revisionsLink', 'markup_language'].indexOf(key) < 0) { editCompHandler = () => {this.editPropertyButtonClick(key, value)}; editCompIcon = 'fa-edit'; }