+
+
{selected.title}
+
+
+
+
+
+
+
+
+ - Pfad:
+ - {selected.id}
+ - Typ:
+ -
+
+ {selected.type}
+
{selected.created && (
<>
- -
- Created:
-
- - {selected.created}
- >
- )}
- {selected.aktualisiert && (
- <>
- -
- Aktualisiert:
-
- - {selected.aktualisiert}
+ - Erstellt:
+ - {selected.created.slice(0, 10)}
>
)}
{selected.tags.length > 0 && (
<>
- -
- Tags:
-
- - {selected.tags.join(', ')}
- >
- )}
- {selected.veraltet && (
- <>
- -
- Status:
-
- - ⚠️ veraltet
+ - Tags:
+ - {selected.tags.join(', ')}
>
)}
+
{noteContent && (
-
-
- Vorschau (erste 500 Zeichen)
-
+
+
Vorschau:
- {noteContent.slice(0, 500)}
- {noteContent.length > 500 ? '...' : ''}
+ {noteContent}
-
+
)}
+ ) : (
+
+
+ Notizen im Vault ({filteredNodes.length})
+
+
setSearchQuery(e.target.value)}
+ style={{
+ width: '100%',
+ padding: '6px 10px',
+ boxSizing: 'border-box',
+ borderRadius: 6,
+ border: '1px solid #cbd5e1',
+ fontSize: 12,
+ marginBottom: 12,
+ }}
+ />
+
+ {filteredNodes.map((n) => (
+
+ ))}
+
+
)}
-