Merge remote-tracking branch 'upstream/release_22.01' into release_22.05

This commit is contained in:
Dannon Baker
2022-07-12 22:25:46 -04:00
+7 -1
View File
@@ -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})`;
},