Skip to content

Commit

Permalink
Merge pull request #87 from n2n-milstein/kungpaogao/remove-routes
Browse files Browse the repository at this point in the history
Remove routes not directly related to inventory
  • Loading branch information
kira-segenchuk authored Mar 31, 2021
2 parents 252336a + 2099534 commit 139cd7b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 45 deletions.
14 changes: 0 additions & 14 deletions src/components/Navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
26 changes: 0 additions & 26 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
5 changes: 0 additions & 5 deletions src/views/Inventory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,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",
},
];
}
Expand Down

0 comments on commit 139cd7b

Please sign in to comment.