mirror of https://github.com/laurent22/joplin.git
All: Fixes #1251: Handle Show Uncompleted Tasks option when selecting a tag
parent
7d6b7e588c
commit
b40ccc7a15
|
@ -794,7 +794,7 @@ class NoteTextComponent extends React.Component {
|
|||
});
|
||||
|
||||
if (Setting.value('env') === 'dev') {
|
||||
this.webviewRef_.current.wrappedInstance.openDevTools();
|
||||
// this.webviewRef_.current.wrappedInstance.openDevTools();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@ class Tag extends BaseItem {
|
|||
let noteIds = await this.noteIds(tagId);
|
||||
if (!noteIds.length) return [];
|
||||
|
||||
return Note.search(Object.assign({}, options, {
|
||||
return Note.previews(null, Object.assign({}, options, {
|
||||
conditions: ['id IN ("' + noteIds.join('","') + '")'],
|
||||
}))
|
||||
}));
|
||||
}
|
||||
|
||||
// Untag all the notes and delete tag
|
||||
|
|
Loading…
Reference in New Issue