mirror of
https://github.com/zoldar/jenot.git
synced 2026-01-03 14:32:54 +00:00
Draft WIP
This commit is contained in:
parent
799d6b16b0
commit
e1b8096447
1 changed files with 4 additions and 1 deletions
|
|
@ -154,7 +154,10 @@ export class SyncedNoteStore extends EventTarget {
|
|||
|
||||
async all(since, includeDeleted) {
|
||||
const results = Object.values(memory[this.dbName][this.storeName])
|
||||
.filter((n) => (includeDeleted || !n.deleted) && n.id !== "meta")
|
||||
.filter(
|
||||
(n) =>
|
||||
(includeDeleted || !n.deleted) && n.id !== "meta" && n.id !== "draft",
|
||||
)
|
||||
.toSorted((a, b) => b.created - a.created);
|
||||
|
||||
if (since > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue