Skip to content

Commit

Permalink
Merge pull request #16290 from mvdbeek/just_get_latest
Browse files Browse the repository at this point in the history
[23.1] Open latest version of tool from tool panel link
  • Loading branch information
martenson committed Jun 22, 2023
2 parents 290ea47 + fb34e27 commit 90a830a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/components/Panels/ToolBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ export default {
evt.preventDefault();
// encode spaces in tool.id
const toolId = tool.id;
const toolVersion = tool.version;
this.$router.push(`/?tool_id=${encodeURIComponent(toolId)}&version=${toolVersion}`);
this.$router.push(`/?tool_id=${encodeURIComponent(toolId)}&version=latest`);
}
},
onToggle() {
Expand Down

0 comments on commit 90a830a

Please sign in to comment.