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.
@@ -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") || roles.includes("Assistant")) {
385
385
  history.push(HOMEPAGE_TEACHER);
386
386
  } else if (roles.includes("Student")) {
387
387
  history.push(HOMEPAGE_STUDENT);
@@ -525,7 +525,7 @@ var BlockLogin = function BlockLogin(_ref) {
525
525
  to: "/forgot-password",
526
526
  className: "" + styles["link-to-login"]
527
527
  }, "Forgot password?"), React.createElement("a", {
528
- href: "https://marioframework.com/privacy-policy/",
528
+ href: "/privacy-policy/",
529
529
  target: "blank",
530
530
  className: "" + styles["link-to-login"]
531
531
  }, "Privacy Policy"))))), React.createElement(Col, {
@@ -766,7 +766,7 @@ var BlockForgetPassword = function BlockForgetPassword() {
766
766
  to: "/login",
767
767
  className: "" + styles["link-to-login"]
768
768
  }, "Return to login"), React.createElement("a", {
769
- href: "https://marioframework.com/privacy-policy/",
769
+ href: "/privacy-policy",
770
770
  target: "blank",
771
771
  className: "" + styles["link-to-login"]
772
772
  }, "Privacy Policy"))))), React.createElement(Col, {
@@ -878,7 +878,7 @@ var BlockResetPassword = function BlockResetPassword() {
878
878
  to: "/login",
879
879
  className: "" + styles["link-to-login"]
880
880
  }, "Return to login"), React.createElement("a", {
881
- href: "https://marioframework.com/privacy-policy/",
881
+ href: "/privacy-policy/",
882
882
  target: "blank",
883
883
  className: "" + styles["link-to-login"]
884
884
  }, "Privacy Policy"))))), React.createElement(Col, {
@@ -1101,7 +1101,7 @@ var Dashboard = function Dashboard() {
1101
1101
  className: styles["nav-home"] + " d-flex w-100"
1102
1102
  }, React.createElement("a", {
1103
1103
  className: styles["learn-more"] + " align-self-lg-center",
1104
- href: "https://marioframework.com/privacy-policy/",
1104
+ href: "/privacy-policy",
1105
1105
  target: "blank"
1106
1106
  }, "Privacy Policy"), React.createElement(Link, {
1107
1107
  className: styles["contact"] + " align-self-lg-center",