Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[24.2] Also check trs_tool_id for imported workflow indicator #19460

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions client/src/components/Workflow/List/WorkflowIndicators.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ const shared = computed(() => {
});

const sourceType = computed(() => {
if (props.workflow.source_metadata?.url) {
const { url, trs_server, trs_tool_id } = props.workflow.source_metadata || {};
const trs = trs_server || trs_tool_id;
if (url) {
return "url";
} else if (props.workflow.source_metadata?.trs_server) {
return `trs_${props.workflow.source_metadata?.trs_server}`;
} else if (trs) {
return `trs_${trs}`;
} else {
return "";
}
Expand Down
Loading