Use titles not IDs

This commit is contained in:
shamoon
2025-11-05 13:58:28 -08:00
parent 94d3de37f9
commit e7f7d9e64e
4 changed files with 18 additions and 22 deletions

View File

@@ -12,9 +12,9 @@
</p>
@if (documentPreview.length > 0) {
<ul class="list-unstyled small mb-0">
@for (docId of documentPreview; track docId) {
@for (doc of documentPreview; track doc.id) {
<li>
<code>{{ docId }}</code>
<strong>{{ doc.title | documentTitle }}</strong>
</li>
}
@if (selectionCount > documentPreview.length) {