3
0

Add hover to revisions table and text-nowrap to changes column

This commit is contained in:
Jože Fortun 2024-03-06 16:08:31 +01:00
parent 3cfad70631
commit 9f037ba47b
2 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,7 @@
:items="revisions"
:fields="columns"
sticky-header
hover
class="flex-fill mh-100 mb-0 w-100 rounded"
>
<template #cell(timestamp)="row">
@ -52,6 +53,7 @@
{{ row.detailsShowing ? '&times;' : $t(`show-changes`, { count: row.item.changes.length }) }}
</b-button>
</template>
<template #row-details="row">
<div
class="pl-5"
@ -172,7 +174,7 @@ export default {
key: 'adt',
label: '',
thClass: 'border-top-0',
class: 'nowrap text-right',
class: 'text-nowrap text-right',
},
],
}

View File

@ -137,7 +137,6 @@ export class PageBlockRecordRevisions extends PageBlock {
rr.filter(r => map.has(r.userID))
.forEach(r => {
r.user = map.get(r.userID) as User
console.log('resolving revision author', r.user)
})
}),