mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-09 00:32:46 +01:00
Fix home screen (#42)
This commit is contained in:
@@ -182,7 +182,7 @@ export default Vue.extend({
|
|||||||
},
|
},
|
||||||
internal: function (): Array<any> {
|
internal: function (): Array<any> {
|
||||||
return [
|
return [
|
||||||
{ icon: "mdi-view-dashboard", name: "Dashboards", to: "DashboardList", role: "admin:dashboard:write" },
|
{ icon: "mdi-view-dashboard", name: "Dashboards", to: "DashboardList", role: "analyst:dashboard:read" },
|
||||||
{ icon: "mdi-check-bold", name: "Open Tasks", to: "TaskList", count: this.$store.state.task_count },
|
{ icon: "mdi-check-bold", name: "Open Tasks", to: "TaskList", count: this.$store.state.task_count },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ const routes: Array<RouteConfig> = [
|
|||||||
{
|
{
|
||||||
path: "/",
|
path: "/",
|
||||||
name: "Catalyst",
|
name: "Catalyst",
|
||||||
redirect: { name: "Dashboard" },
|
redirect: { name: "Home" },
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user