mario-core 2.9.1 → 2.9.4-beta

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 CHANGED
@@ -384,7 +384,7 @@ var useLogin = function useLogin() {
384
384
  history.push(HOMEPAGE_DISTRICT);
385
385
  } else if (roles.includes("Admin")) {
386
386
  history.push(HOMEPAGE_ADMIN);
387
- } else if (roles.includes("Teacher")) {
387
+ } else if (roles.includes("Teacher") || roles.includes("Assistant")) {
388
388
  history.push(HOMEPAGE_TEACHER);
389
389
  } else if (roles.includes("Student")) {
390
390
  history.push(HOMEPAGE_STUDENT);
@@ -528,7 +528,7 @@ var BlockLogin = function BlockLogin(_ref) {
528
528
  to: "/forgot-password",
529
529
  className: "" + styles["link-to-login"]
530
530
  }, "Forgot password?"), React__default.createElement("a", {
531
- href: "https://marioframework.com/privacy-policy/",
531
+ href: "/privacy-policy/",
532
532
  target: "blank",
533
533
  className: "" + styles["link-to-login"]
534
534
  }, "Privacy Policy"))))), React__default.createElement(reactstrap.Col, {
@@ -769,7 +769,7 @@ var BlockForgetPassword = function BlockForgetPassword() {
769
769
  to: "/login",
770
770
  className: "" + styles["link-to-login"]
771
771
  }, "Return to login"), React__default.createElement("a", {
772
- href: "https://marioframework.com/privacy-policy/",
772
+ href: "/privacy-policy",
773
773
  target: "blank",
774
774
  className: "" + styles["link-to-login"]
775
775
  }, "Privacy Policy"))))), React__default.createElement(reactstrap.Col, {
@@ -881,7 +881,7 @@ var BlockResetPassword = function BlockResetPassword() {
881
881
  to: "/login",
882
882
  className: "" + styles["link-to-login"]
883
883
  }, "Return to login"), React__default.createElement("a", {
884
- href: "https://marioframework.com/privacy-policy/",
884
+ href: "/privacy-policy/",
885
885
  target: "blank",
886
886
  className: "" + styles["link-to-login"]
887
887
  }, "Privacy Policy"))))), React__default.createElement(reactstrap.Col, {
@@ -1104,7 +1104,7 @@ var Dashboard = function Dashboard() {
1104
1104
  className: styles["nav-home"] + " d-flex w-100"
1105
1105
  }, React__default.createElement("a", {
1106
1106
  className: styles["learn-more"] + " align-self-lg-center",
1107
- href: "https://marioframework.com/privacy-policy/",
1107
+ href: "/privacy-policy",
1108
1108
  target: "blank"
1109
1109
  }, "Privacy Policy"), React__default.createElement(reactRouterDom.Link, {
1110
1110
  className: styles["contact"] + " align-self-lg-center",