From 51a713742ccf41d78c17e0288a6f7580fabbc426 Mon Sep 17 00:00:00 2001 From: John Davis Date: Tue, 14 Jan 2025 01:12:28 -0500 Subject: [PATCH] Use creator_deleted_or_purged to determine how to display workflow creator --- .../Workflow/Published/WorkflowInformation.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/client/src/components/Workflow/Published/WorkflowInformation.vue b/client/src/components/Workflow/Published/WorkflowInformation.vue index dc41bdd27c85..8091950d51e3 100644 --- a/client/src/components/Workflow/Published/WorkflowInformation.vue +++ b/client/src/components/Workflow/Published/WorkflowInformation.vue @@ -43,6 +43,13 @@ const fullLink = computed(() => { const userOwned = computed(() => { return userStore.matchesCurrentUsername(props.workflowInfo.owner); }); + +const owner = computed(() => { + if (props.workflowInfo?.creator_deleted_or_purged) { + return "Archived author"; + } + return props.workflowInfo.owner; +});