Modify Shot Data Table Functions
This commit is contained in:
@@ -74,8 +74,8 @@ export const createShotColumns = (
|
||||
id: 'thumbnail',
|
||||
header: 'Thumbnail',
|
||||
cell: () => {
|
||||
return h('div', { class: 'w-20 h-11 bg-muted flex items-center justify-center' }, [
|
||||
h(Camera, { class: 'h-6 w-6 text-muted-foreground' }),
|
||||
return h('div', { class: 'w-20 h-11 bg-gray-500/20 flex items-center justify-center' }, [
|
||||
h(Camera, { class: 'h-6 w-6 text-muted-foreground text-gray-900' }),
|
||||
])
|
||||
},
|
||||
enableSorting: false,
|
||||
@@ -121,16 +121,6 @@ export const createShotColumns = (
|
||||
return h(Badge, { variant: 'outline', class: 'text-xs' }, () => episodeName)
|
||||
},
|
||||
},
|
||||
// Frame Range column (not sortable)
|
||||
{
|
||||
id: 'frameRange',
|
||||
header: 'Frame Range',
|
||||
cell: ({ row }) => {
|
||||
const shot = row.original
|
||||
return h('span', { class: 'text-sm' }, `${shot.frame_start}-${shot.frame_end}`)
|
||||
},
|
||||
enableSorting: false,
|
||||
},
|
||||
// Frames column (frame count)
|
||||
{
|
||||
id: 'frames',
|
||||
|
||||
Reference in New Issue
Block a user