add word count to note list

This commit is contained in:
2023-05-22 00:27:06 +02:00
parent 021e0f3eb4
commit 4d4938a0ad

View File

@@ -65,6 +65,7 @@ const deleteSelectedNotes = (closeModal: () => void) => {
<tr>
<th class="w-[48px]"></th>
<th>Note title</th>
<th class="w-[75px]">Words</th>
<th class="w-[100px]">References</th>
<th class="w-[150px]">Modified</th>
</tr>
@@ -90,6 +91,7 @@ const deleteSelectedNotes = (closeModal: () => void) => {
<i class="fas fa-fw fa-home mr-1 text-secondary" v-if="note.isRoot" />
{{ note.title }}
</td>
<td>{{ note.wordCount }}</td>
<td>
<div class="badge" v-if="note.references.length > 0">
<i data-v-41bbc26f="" class="fas fa-fw fa-sign-out-alt mr-1"></i>