From 4d0e91dfd702fd9f89eb05e33ae27d8338c2c540 Mon Sep 17 00:00:00 2001 From: OhHeyAlan Date: Mon, 16 Oct 2023 11:11:48 -0500 Subject: [PATCH 1/2] Update list-binary.component.ts Add useful binary details --- .../components/list-generic-resource/list-binary.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/app/components/list-generic-resource/list-binary.component.ts b/frontend/src/app/components/list-generic-resource/list-binary.component.ts index 75a91ed88..c842052b0 100644 --- a/frontend/src/app/components/list-generic-resource/list-binary.component.ts +++ b/frontend/src/app/components/list-generic-resource/list-binary.component.ts @@ -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) } ] } From 61398b8b3633cbb7a9fcd600ce9ca5886d50f7df Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Mon, 16 Oct 2023 09:23:52 -0700 Subject: [PATCH 2/2] Update list-binary.component.ts --- .../components/list-generic-resource/list-binary.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/list-generic-resource/list-binary.component.ts b/frontend/src/app/components/list-generic-resource/list-binary.component.ts index c842052b0..4352d1e9e 100644 --- a/frontend/src/app/components/list-generic-resource/list-binary.component.ts +++ b/frontend/src/app/components/list-generic-resource/list-binary.component.ts @@ -11,7 +11,7 @@ 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: 'Last Updated', versions: '*', getter: c => c.meta?.lastUpdated }, { title: 'Size', versions: '*', getter: c => Math.floor((c.data?.length *4 +2)/3) } ] }