l-min-components 1.0.576 → 1.0.587
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/components/index.js
CHANGED
|
@@ -43,6 +43,7 @@ export { default as AdminLogin } from './AdminLogin';
|
|
|
43
43
|
export { default as AdminResetPassword } from './AdminResetPassword';
|
|
44
44
|
export { default as AdminChangePassword } from './AdminResetPassword/change-password';
|
|
45
45
|
export { default as AdminPasswordSuccess } from './AdminResetPassword/success-screen';
|
|
46
|
+
export { default as AdminDashboard } from "./AdminDashboard/admin-dashboard";
|
|
46
47
|
export { default as AdminNotification } from './AdminNotification';
|
|
47
48
|
|
|
48
49
|
export { default as GraphMap } from './GraphMap';
|
|
@@ -51,7 +51,9 @@ const SideBar = ({ routes }) => {
|
|
|
51
51
|
<NavLinkStyled
|
|
52
52
|
activeClassName="active"
|
|
53
53
|
to={route?.path}
|
|
54
|
-
onClick={() =>
|
|
54
|
+
onClick={() =>
|
|
55
|
+
window.open(route.path, route?.newTab ? "_blank" : "")
|
|
56
|
+
}
|
|
55
57
|
className={
|
|
56
58
|
route?.label !== "Learning"
|
|
57
59
|
? window.location.pathname.includes(
|
|
@@ -24,10 +24,10 @@ import { TicketsIcon, TicketsIconActive } from '../assets/adminSvg/ticketsIcon';
|
|
|
24
24
|
import { ChatIcon, ChatIconActive } from '../assets/adminSvg/chatIcon';
|
|
25
25
|
import { FlaggedIcon, FlaggedIconActive } from '../assets/adminSvg/flaggedIcon';
|
|
26
26
|
import { UsersIcon, UsersIconActive } from '../assets/adminSvg/usersIcon';
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from '../assets/adminSvg/settingsIcon';
|
|
27
|
+
// import {
|
|
28
|
+
// SettingsIcon,
|
|
29
|
+
// SettingsIconActive,
|
|
30
|
+
// } from '../assets/adminSvg/settingsIcon';
|
|
31
31
|
import { UserBoxIcon, UserBoxIconActive } from '../assets/adminSvg/userBoxIcon';
|
|
32
32
|
import {
|
|
33
33
|
AnalyticsIcon,
|
|
@@ -37,8 +37,8 @@ import { RevenueIcon, RevenueIconActive } from '../assets/adminSvg/revenueIcon';
|
|
|
37
37
|
|
|
38
38
|
const settings = {
|
|
39
39
|
path: null,
|
|
40
|
-
icon: <SettingsIcon />,
|
|
41
|
-
iconActive: <SettingsIconActive />,
|
|
40
|
+
// icon: <SettingsIcon />,
|
|
41
|
+
// iconActive: <SettingsIconActive />,
|
|
42
42
|
text: 'Settings',
|
|
43
43
|
hasNotification: false,
|
|
44
44
|
hasDropdown: true,
|
|
@@ -100,10 +100,11 @@ export const sideMenuOptions = [
|
|
|
100
100
|
// notifications: 2,
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
path: "
|
|
103
|
+
path: "https://developer.learngual.com",
|
|
104
104
|
icon: <DocumentIcon />,
|
|
105
105
|
iconActive: <DocumentIconActive />,
|
|
106
106
|
text: "Documentation",
|
|
107
|
+
newTab: true,
|
|
107
108
|
// notifications: 5,
|
|
108
109
|
},
|
|
109
110
|
{
|