From 1ee04176c5c6aa619610a135f42e91fe7c305574 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 12 Mar 2021 00:09:43 -0500 Subject: [PATCH 1/2] Remove routes not directly related to inventory --- src/components/Navigation.vue | 14 -------------- src/router.ts | 26 -------------------------- 2 files changed, 40 deletions(-) diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue index f12e682..81896e6 100644 --- a/src/components/Navigation.vue +++ b/src/components/Navigation.vue @@ -126,25 +126,11 @@ export default class Navigation extends Vue { ]; readonly items = [ - // { icon: "home", text: "Home", route: "hello" }, { icon: "view_list", text: "Inventory", route: "inventory" }, { icon: "archive", text: "Archive", route: "archive" }, - { icon: "mdi-truck-fast", text: "Runs", route: "runs" }, - // { icon: "check_circle", text: "Approval", route: "approval" }, - // { - // icon: "keyboard_arrow_up", - // "icon-alt": "keyboard_arrow_down", - // text: "Approvals", - // model: false, - // children: [ - // { icon: "check_circle", text: "Pending", route: "pending" }, - // { icon: "cancel", text: "Rejected", route: "rejected" }, - // ], - // }, { divider: true }, { icon: "settings", text: "Settings" }, { icon: "chat_bubble", text: "Send feedback", route: "feedback" }, - // { icon: "info", text: "About", route: "about" }, ]; goTo(route: string): void { diff --git a/src/router.ts b/src/router.ts index a10450e..97524fe 100644 --- a/src/router.ts +++ b/src/router.ts @@ -50,17 +50,6 @@ const router = new Router({ name: "archive", component: () => import("./views/Archive.vue"), }, - { - path: "/runs/:id", - name: "run-detail", - component: () => import("./views/RunDetail.vue"), - props: true, - }, - { - path: "/runs", - name: "runs", - component: () => import("./views/RunPreview.vue"), - }, { path: "/about", name: "about", @@ -70,21 +59,6 @@ const router = new Router({ component: () => import(/* webpackChunkName: "about" */ "./views/About.vue"), }, - { - path: "/pending", - name: "pending", - component: () => import("./views/Pending.vue"), - }, - { - path: "/hello", - name: "hello", - component: () => import("./views/Hello.vue"), - }, - { - path: "/rejected", - name: "rejected", - component: () => import("./views/Rejected.vue"), - }, { path: "/feedback", name: "feedback", From 209953404f16771c907701a1efc36183446d4781 Mon Sep 17 00:00:00 2001 From: kira-segenchuk Date: Tue, 30 Mar 2021 21:53:48 -0400 Subject: [PATCH 2/2] remove add run button from inventory --- src/views/Inventory.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/views/Inventory.vue b/src/views/Inventory.vue index 0cdb9c0..2da70c0 100644 --- a/src/views/Inventory.vue +++ b/src/views/Inventory.vue @@ -228,11 +228,6 @@ export default class Inventory extends Vue { emit: "download", loading: (): boolean => this.downloading, }, - { - icon: "playlist_add", - desc: "Add selected items to run", - emit: "list-add", - }, ]; }