Update list-binary.component.ts (#280)
Co-authored-by: Jason Kulatunga <jason@thesparktree.com>
This commit is contained in:
parent
79c3e85485
commit
ef68bfcc56
|
@ -10,6 +10,8 @@ import {attributeXTime} from './utils';
|
||||||
export class ListBinaryComponent extends ListGenericResourceComponent {
|
export class ListBinaryComponent extends ListGenericResourceComponent {
|
||||||
columnDefinitions: GenericColumnDefn[] = [
|
columnDefinitions: GenericColumnDefn[] = [
|
||||||
{ title: 'Content-Type', versions: '*', getter: c => c.contentType },
|
{ title: 'Content-Type', versions: '*', getter: c => c.contentType },
|
||||||
|
{ title: 'ID', versions: '*', getter: c => c.id },
|
||||||
|
{ title: 'Last Updated', versions: '*', getter: c => c.meta?.lastUpdated },
|
||||||
{ title: 'Size', versions: '*', getter: c => Math.floor((c.data?.length *4 +2)/3) }
|
{ title: 'Size', versions: '*', getter: c => Math.floor((c.data?.length *4 +2)/3) }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue