CEC-1230 Datascope opens iframe dashboard (#174)
* CEC-1230 Datascope opens iframe dashboard * Clean up
This commit is contained in:
@@ -12,7 +12,6 @@ import ListItemLink from "../ListItemLink";
|
||||
import ListItemExternalLink from "../ListItemExternalLink";
|
||||
import { useUserContext } from "../Contexts/UserContext";
|
||||
import { Roles, hasRole } from "../../utils/roles";
|
||||
import { SupersetDashboardURL } from "../../services/superset";
|
||||
|
||||
const menuData = [
|
||||
{
|
||||
@@ -41,7 +40,7 @@ const menuData = [
|
||||
},
|
||||
{
|
||||
label: "Datascope",
|
||||
url: SupersetDashboardURL,
|
||||
to: "/datascope",
|
||||
icon: <AssessmentIcon />,
|
||||
roles: [Roles.READ, Roles.CREATE],
|
||||
},
|
||||
@@ -66,10 +65,9 @@ const menuData = [
|
||||
label: "SMS",
|
||||
to: "/tools/sms/send",
|
||||
roles: [],
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
const MenuItem = ({ item, children }) => {
|
||||
|
||||
Reference in New Issue
Block a user