CEC-1387 superset integration and removal of grafana (#138)
* replace grafana with superset * updating snapshots
This commit is contained in:
@@ -10,7 +10,7 @@ import ListItemLink from "../ListItemLink";
|
||||
import ListItemExternalLink from "../ListItemExternalLink";
|
||||
import { useUserContext } from "../Contexts/UserContext";
|
||||
import { Roles, hasRole } from "../../utils/roles";
|
||||
import { grafanaCharts } from "../../services/grafanaCharts";
|
||||
import { SupersetDashboardURL } from "../../services/superset";
|
||||
|
||||
const menuData = [
|
||||
{
|
||||
@@ -39,19 +39,9 @@ const menuData = [
|
||||
},
|
||||
{
|
||||
label: "Datascope",
|
||||
to: "/datascope",
|
||||
url: SupersetDashboardURL,
|
||||
icon: <AssessmentIcon />,
|
||||
roles: [Roles.READ, Roles.CREATE],
|
||||
submenus: [
|
||||
{
|
||||
label: "Battery",
|
||||
to: "/datascope/battery",
|
||||
},
|
||||
{
|
||||
label: "Diagnostics",
|
||||
url: grafanaCharts.BASE,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user