mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-13 02:32:50 +01:00
Fix routing (#43)
This commit is contained in:
@@ -29,6 +29,7 @@ import TicketType from '../views/TicketType.vue';
|
||||
import TicketTypeList from "@/views/TicketTypeList.vue";
|
||||
import TaskList from "@/views/TaskList.vue";
|
||||
import Settings from "@/views/Settings.vue";
|
||||
import NotFound from "@/views/NotFound.vue";
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
@@ -229,7 +230,6 @@ const routes: Array<RouteConfig> = [
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
path: "/dashboards",
|
||||
name: "DashboardList",
|
||||
@@ -264,6 +264,13 @@ const routes: Array<RouteConfig> = [
|
||||
component: Graph,
|
||||
meta: { title: "Graph" },
|
||||
},
|
||||
|
||||
{
|
||||
path: '*',
|
||||
name: "Not Found",
|
||||
component: NotFound,
|
||||
meta: { title: "Not Found" },
|
||||
}
|
||||
];
|
||||
|
||||
const router = new VueRouter({
|
||||
|
||||
Reference in New Issue
Block a user