A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
feat: update tags/color logic according to notes-core
thecodrrd103674be21c
diff --git a/apps/web/src/app.js b/apps/web/src/app.jsindex b9a399983..2e77e9a9a 100644--- a/apps/web/src/app.js+++ b/apps/web/src/app.js@@ -185,7 +185,7 @@ function App() {color: COLORS[color.title],title: toTitleCase(color.title),icon: Icon.Circle,- count: color.count+ count: color.noteIds.length}}/>);diff --git a/apps/web/src/views/Tags.js b/apps/web/src/views/Tags.jsindex 57014c011..e1c8f044b 100644--- a/apps/web/src/views/Tags.js+++ b/apps/web/src/views/Tags.js@@ -26,14 +26,14 @@ const Tags = props => {type="tags"items={tags}item={(index, item) => {- const { title, count } = item;+ const { title, noteIds } = item;return (<ListItemitem={item}selectable={false}index={index}title={<TagNode title={title} />}- info={`${count} notes`}+ info={`${noteIds.length} notes`}onClick={() => {setSelectedContext({ type: "tag", value: title });props.navigator.navigate("notes", {diff --git a/apps/web/yarn.lock b/apps/web/yarn.lockindex 4cd198d45..01fdd3598 100644--- a/apps/web/yarn.lock+++ b/apps/web/yarn.lock@@ -6905,7 +6905,7 @@ normalize-url@^3.0.0, normalize-url@^3.0.1:"notes-core@git+ssh://[email protected]:thecodrr/notes-core.git":version "1.2.0"- resolved "git+ssh://[email protected]:thecodrr/notes-core.git#414d6c3a5767e5ea396f23e293b8524bcd1f4fdb"+ resolved "git+ssh://[email protected]:thecodrr/notes-core.git#0f33ad84b60f4805d2adb9a65f11dd4c2690c315"dependencies:fast-sort "^2.0.1"fuzzysearch "^1.0.3"