update: add more field
This commit is contained in:
parent
022cb51eef
commit
f17047aab7
1 changed files with 8 additions and 2 deletions
|
|
@ -316,11 +316,17 @@ const onRowClick = ((_, row) => {
|
||||||
<template v-slot:body-cell-title="data">
|
<template v-slot:body-cell-title="data">
|
||||||
<q-td>
|
<q-td>
|
||||||
<span class="sort-icon-offset-margin">{{
|
<span class="sort-icon-offset-margin">{{
|
||||||
data.row.metadata.subject ?? data.row.metadata.title
|
data.row.metadata.subject ?? data.row.title
|
||||||
}}</span>
|
}}</span>
|
||||||
</q-td>
|
</q-td>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-slot:body-cell-author="data">
|
||||||
|
<q-td>
|
||||||
|
<span class="sort-icon-offset-margin">
|
||||||
|
{{ data.row.metadata.author ?? data.row.author }}
|
||||||
|
</span>
|
||||||
|
</q-td>
|
||||||
|
</template>
|
||||||
<template v-slot:body-cell-fileType="data">
|
<template v-slot:body-cell-fileType="data">
|
||||||
<q-td>
|
<q-td>
|
||||||
<span class="sort-icon-offset-margin">
|
<span class="sort-icon-offset-margin">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue