mario-core 2.9.4-beta → 2.9.4
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -381,7 +381,7 @@ var useLogin = function useLogin() {
|
|
|
381
381
|
history.push(HOMEPAGE_DISTRICT);
|
|
382
382
|
} else if (roles.includes("Admin")) {
|
|
383
383
|
history.push(HOMEPAGE_ADMIN);
|
|
384
|
-
} else if (roles.includes("Teacher")
|
|
384
|
+
} else if (roles.includes("Teacher")) {
|
|
385
385
|
history.push(HOMEPAGE_TEACHER);
|
|
386
386
|
} else if (roles.includes("Student")) {
|
|
387
387
|
history.push(HOMEPAGE_STUDENT);
|
|
@@ -1418,7 +1418,7 @@ var TheHeader = function TheHeader() {
|
|
|
1418
1418
|
style: {
|
|
1419
1419
|
color: '#000'
|
|
1420
1420
|
},
|
|
1421
|
-
href: 'https://marioframework.com/
|
|
1421
|
+
href: 'https://marioframework.com/privacy-policy',
|
|
1422
1422
|
target: "blank"
|
|
1423
1423
|
}, "Privacy Policy"), !isDistrict && React.createElement(NotificationButton, null), React.createElement(TheHeaderDropdown, null)));
|
|
1424
1424
|
};
|