mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge remote-tracking branch 'upstream/release_22.01' into release_22.05
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
@onUpdateFavorites="onUpdateFavorites">
|
||||
<template v-slot:body>
|
||||
<FormDisplay
|
||||
:id="formConfig.id"
|
||||
:id="toolId"
|
||||
:inputs="formConfig.inputs"
|
||||
:validation-scroll-to="validationScrollTo"
|
||||
@onChange="onChange"
|
||||
@@ -170,6 +170,12 @@ export default {
|
||||
toolName() {
|
||||
return this.formConfig.name;
|
||||
},
|
||||
toolId() {
|
||||
// ensure version is included in tool id, otherwise form inputs are
|
||||
// not re-rendered when versions change.
|
||||
const { id, version } = this.formConfig;
|
||||
return id.endsWith(version) ? id : `${id}/${version}`;
|
||||
},
|
||||
tooltip() {
|
||||
return `Execute: ${this.formConfig.name} (${this.formConfig.version})`;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user