mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Reversal of class structure in favor of function module structure. Test script consolidation.
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
import _l from "utils/localization";
|
||||
import ToolSection from "./Common/ToolSection";
|
||||
import ToolSearch from "./Common/ToolSearch";
|
||||
import { toolSearch } from "./utilities";
|
||||
import { filterToolSections } from "./utilities";
|
||||
import PanelViewButton from "./Buttons/PanelViewButton";
|
||||
|
||||
export default {
|
||||
@@ -101,9 +101,6 @@ export default {
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
created: function () {
|
||||
this.toolSearch = new toolSearch();
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
query: null,
|
||||
@@ -130,7 +127,7 @@ export default {
|
||||
};
|
||||
},
|
||||
sections() {
|
||||
return this.toolSearch.filterSections(this.toolsLayout, this.results); //TODO confirm still works in Workflows
|
||||
return filterToolSections(this.toolsLayout, this.results);
|
||||
},
|
||||
toolsLayout() {
|
||||
return this.toolbox.map((section) => {
|
||||
|
||||
Reference in New Issue
Block a user