Skip to content

Commit

Permalink
Update list-binary.component.ts (#280)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Kulatunga <jason@thesparktree.com>
  • Loading branch information
OhHeyAlan and AnalogJ committed Oct 16, 2023
1 parent 79c3e85 commit ef68bfc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {attributeXTime} from './utils';
export class ListBinaryComponent extends ListGenericResourceComponent {
columnDefinitions: GenericColumnDefn[] = [
{ 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) }
]
}

0 comments on commit ef68bfc

Please sign in to comment.