You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-18 23:07:45 +02:00
Revert "Tools: Added eslint rule arrow-parens"
This reverts commit 0b6f5581f0
.
It causes too many conflicts with pull requests.
This commit is contained in:
@ -46,10 +46,10 @@ class ResourceService extends BaseService {
|
||||
|
||||
if (!changes.length) break;
|
||||
|
||||
const noteIds = changes.map((a) => a.item_id);
|
||||
const noteIds = changes.map(a => a.item_id);
|
||||
const notes = await Note.modelSelectAll(`SELECT id, title, body, encryption_applied FROM notes WHERE id IN ("${noteIds.join('","')}")`);
|
||||
|
||||
const noteById = (noteId) => {
|
||||
const noteById = noteId => {
|
||||
for (let i = 0; i < notes.length; i++) {
|
||||
if (notes[i].id === noteId) return notes[i];
|
||||
}
|
||||
|
Reference in New Issue
Block a user