From 80ca8528e209489293592e4705f81c69bed565e5 Mon Sep 17 00:00:00 2001 From: Devin Cowan Date: Tue, 24 Sep 2024 15:05:07 -0400 Subject: [PATCH] format metadata --- app/frontend/src/views/SubmissionsView.vue | 36 ++++++++++++++-------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/app/frontend/src/views/SubmissionsView.vue b/app/frontend/src/views/SubmissionsView.vue index 78621f60..2580bc3c 100644 --- a/app/frontend/src/views/SubmissionsView.vue +++ b/app/frontend/src/views/SubmissionsView.vue @@ -61,18 +61,28 @@ - - + + + + close + + - - close - - -
-
-
- {{ sheetText }} -
+ Metadata + + + +
+ + + Status + +
{{ JSON.stringify(metadataObject.status, null, 2) }}
@@ -97,7 +107,7 @@ let interval = null let logsArray = ref(null) let showingLogs = ref(false) let selectedSubmission = ref({}) -let sheetText = ref('') +let metadataObject = ref(null) let refreshingItem = ref({}) let refreshing = ref(true) @@ -209,7 +219,7 @@ async function showArgo(submission) { const argoUrl = `${argoEndpoint}/${submission.workflow_id}` const response = await fetchWrapper.get(argoUrl) const metadata = await response.unpacked - sheetText.value = metadata + metadataObject.value = metadata } async function refreshSubmission(submission) {