diff --git a/client/src/components/Workflow/WorkflowDropdown.vue b/client/src/components/Workflow/WorkflowDropdown.vue index 99e65ad3195..6d5ecf5caa7 100644 --- a/client/src/components/Workflow/WorkflowDropdown.vue +++ b/client/src/components/Workflow/WorkflowDropdown.vue @@ -10,13 +10,13 @@ {{ workflow.name }} @@ -124,6 +124,15 @@ export default { return null; } }, + sourceType() { + if (this.workflow.source_metadata?.url) { + return "url"; + } else if (this.workflow.source_metadata?.trs_server) { + return `trs_${this.workflow.source_metadata?.trs_server}`; + } else { + return ""; + } + }, }, created() { this.root = getAppRoot();