From f50aa949734d4af3dba2dca9f28a2b33922a8b60 Mon Sep 17 00:00:00 2001 From: hujambo-dunia Date: Fri, 23 Sep 2022 13:26:40 -0400 Subject: [PATCH] Reversal of class structure in favor of function module structure. Test script consolidation. --- client/src/components/Panels/ToolBoxWorkflow.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/client/src/components/Panels/ToolBoxWorkflow.vue b/client/src/components/Panels/ToolBoxWorkflow.vue index 01c9ec23369..075a11d34a3 100644 --- a/client/src/components/Panels/ToolBoxWorkflow.vue +++ b/client/src/components/Panels/ToolBoxWorkflow.vue @@ -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) => {