From b743bc960caeb7be6a5b061f3ed301c46dd553e2 Mon Sep 17 00:00:00 2001 From: Grady Berry Ward Date: Thu, 18 Jan 2024 09:44:34 -0700 Subject: [PATCH 1/2] Simplifies Accessing Current Properties on Editor Objects (#147) --- frontend/components/analysis/ListView.vue | 8 ++++---- .../components/incompleteupload/ListView.vue | 10 +++++----- frontend/components/portfolio/ListView.vue | 20 +++++++++---------- .../components/portfolio/group/ListView.vue | 12 +++++------ frontend/pages/incomplete-uploads.vue | 16 +++++++-------- 5 files changed, 33 insertions(+), 33 deletions(-) diff --git a/frontend/components/analysis/ListView.vue b/frontend/components/analysis/ListView.vue index 687bb67..d4c7fd3 100644 --- a/frontend/components/analysis/ListView.vue +++ b/frontend/components/analysis/ListView.vue @@ -99,21 +99,21 @@ const deleteSelected = () => Promise.all([selectedRows.value.map((row) => delete :value="editorObjects" data-key="id" size="small" - sort-field="editorValues.value.createdAt.originalValue" + sort-field="currentValue.value.createdAt" :sort-order="-1" > diff --git a/frontend/components/incompleteupload/ListView.vue b/frontend/components/incompleteupload/ListView.vue index 933029a..6c72995 100644 --- a/frontend/components/incompleteupload/ListView.vue +++ b/frontend/components/incompleteupload/ListView.vue @@ -83,22 +83,22 @@ const saveChanges = (id: string) => { data-key="id" class="w-full" size="small" - sort-field="editorValues.value.createdAt.originalValue" + sort-field="currentValue.value.createdAt" :sort-order="-1" > {
Created At - {{ humanReadableTimeFromStandardString(slotProps.data.editorValues.value.createdAt.originalValue).value }} + {{ humanReadableTimeFromStandardString(slotProps.data.currentValue.value.createdAt).value }}
diff --git a/frontend/components/portfolio/ListView.vue b/frontend/components/portfolio/ListView.vue index ee2a5ac..b611e3c 100644 --- a/frontend/components/portfolio/ListView.vue +++ b/frontend/components/portfolio/ListView.vue @@ -126,7 +126,7 @@ const deleteSelected = () => Promise.all([selectedRows.value.map((row) => delete :value="editorObjects" data-key="id" size="small" - sort-field="editorValues.value.createdAt.originalValue" + sort-field="currentValue.value.createdAt" :sort-order="-1" > @@ -155,12 +155,12 @@ const deleteSelected = () => Promise.all([selectedRows.value.map((row) => delete