1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Changed tag label

This commit is contained in:
Laurent Cozic 2020-09-29 10:51:47 +01:00
parent cf2442c5b2
commit f42fb1b871
2 changed files with 1 additions and 2 deletions

View File

@ -366,7 +366,7 @@ function NoteEditor(props: NoteEditorProps) {
let control = null;
if (!props.selectedNoteTags.length) {
const noteIds = [formNote.id];
control = <span onClick={() => { CommandService.instance().execute('setTags', { noteIds }); }} style={theme.clickableTextStyle}>Click to add some tags...</span>;
control = <span onClick={() => { CommandService.instance().execute('setTags', { noteIds }); }} style={theme.clickableTextStyle}>Click to add tags...</span>;
} else {
control = <TagList items={props.selectedNoteTags} />;
}

View File

@ -148,7 +148,6 @@ class NoteTextViewerComponent extends React.Component<Props, any> {
// ----------------------------------------------------------------
render() {
console.info('RRRRRRRRRRRRRRRRRRRRRRR');
const viewerStyle = Object.assign({}, { border: 'none' }, this.props.viewerStyle);
return <iframe className="noteTextViewer" ref={this.webviewRef_} style={viewerStyle} src="gui/note-viewer/index.html"></iframe>;
}