update: show subject with fallback to title

This commit is contained in:
Methapon2001 2024-01-11 09:34:19 +07:00
parent e9d9b60abb
commit 65aa1a6d15
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -315,10 +315,12 @@ const onRowClick = ((_, row) => {
</template>
<template v-slot:body-cell-title="data">
<q-td>
<span class="sort-icon-offset-margin">{{ data.row.title }}</span>
<span class="sort-icon-offset-margin">{{
data.row.metadata.subject ?? data.row.metadata.title
}}</span>
</q-td>
</template>
<template v-slot:body-cell-fileType="data">
<q-td>
<span class="sort-icon-offset-margin">