update: show subject with fallback to title
This commit is contained in:
parent
e9d9b60abb
commit
65aa1a6d15
1 changed files with 4 additions and 2 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue