diff --git a/package.json b/package.json index 5a75efa..5eb7855 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nextcloud-notes-tauri", "private": true, - "version": "0.1.5", + "version": "0.2.0", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 28a6337..b53b67a 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Nextcloud Notes", - "version": "0.1.5", + "version": "0.2.0", "identifier": "com.davidrelich.nextcloud-notes", "build": { "beforeDevCommand": "npm run dev", diff --git a/src/components/NotesList.tsx b/src/components/NotesList.tsx index 8843198..a73818b 100644 --- a/src/components/NotesList.tsx +++ b/src/components/NotesList.tsx @@ -296,9 +296,16 @@ export function NotesList({ {formatDate(note.modified)} {note.category && (() => { const colors = getCategoryColor(note.category); - if (!colors) return null; + if (colors) { + return ( + + {note.category} + + ); + } + // Show neutral badge when no color is set return ( - + {note.category} );