Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: add type to tag item

thecodrrd99f327baaa6
diff --git a/packages/core/collections/tags.js b/packages/core/collections/tags.js
index 44552555c..300589c14 100644
--- a/packages/core/collections/tags.js
+++ b/packages/core/collections/tags.js
@@ -51,6 +51,7 @@ export default class Tags extends Collection {
let notes = tag.noteIds || [];
let deletedIds = tag.deletedIds || [];
tag = {
+ type: "tag",
id,
title: tag.title,
noteIds: [...notes, noteId],