Add storage component route, sort routes, remove unused imports

This commit is contained in:
guerler
2022-06-28 08:57:44 -04:00
parent e84c2dcb4a
commit fe3a64579e
3 changed files with 18 additions and 19 deletions
@@ -13,10 +13,6 @@
</div>
</template>
<script>
import { getAppRoot } from "onload";
import store from "store";
import { urlData } from "utils/url";
import Query from "utils/query-string-parsing";
import { getGalaxyInstance } from "app";
import HistoryIndex from "components/History/Index";
import ToolBox from "components/Panels/ProviderAwareToolBox";
@@ -26,7 +22,6 @@ import CenterPanel from "./CenterPanel";
export default {
components: {
CenterPanel,
HistoryIndex,
SidePanel,
},
data() {
@@ -9,7 +9,6 @@
:workflows="editorConfig.workflows" />
</template>
<script>
import store from "store";
import { urlData } from "utils/url";
import Query from "utils/query-string-parsing";
import Editor from "components/Workflow/Editor/Index.vue";
+18 -13
View File
@@ -11,6 +11,7 @@ import ToolsJson from "components/ToolsView/ToolsSchemaJson/ToolsJson";
import ToolsView from "components/ToolsView/ToolsView";
import WorkflowEditorModule from "entry/app/modules/WorkflowEditor";
import CenterPanel from "entry/app/modules/CenterPanel";
import { StorageDashboardRouter } from "components/User/DiskUsage";
Vue.use(VueRouter);
@@ -38,20 +39,32 @@ const router = new VueRouter({
component: CenterPanel,
props: { src: "welcome" },
},
{
path: "datasets/:datasetId/error",
component: DatasetError,
props: true,
},
{
path: "datasets/:datasetId/details",
component: DatasetDetails,
props: true,
},
{
path: "datasets/:datasetId/error",
component: DatasetError,
props: true,
},
{
path: "histories/import",
component: HistoryImport,
},
{
path: "interactivetool_entry_points/list",
component: InteractiveTools,
},
{
path: "login/confirm",
component: NewUserConfirmation,
},
{
path: "storage",
component: StorageDashboardRouter,
},
{
path: "tools/view",
component: ToolsView,
@@ -60,14 +73,6 @@ const router = new VueRouter({
path: "tools/json",
component: ToolsJson,
},
{
path: "interactivetool_entry_points/list",
component: InteractiveTools,
},
{
path: "histories/import",
component: HistoryImport,
},
],
},
{ path: "/workflows/edit", component: WorkflowEditorModule },