mario-core 2.9.222-release → 2.9.224-release

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.
@@ -1843,7 +1843,7 @@ var print_my_accommodations = "Print my accommodations";
1843
1843
  var my_learning_progress = "My Learning Progress";
1844
1844
  var responses_and_response_rates_per_question = "Responses and Response Rates Per Question";
1845
1845
  var responses_comparisons = "Responses Comparisons";
1846
- var dropdown_and_verbal_questions_responses = "Dropdown and verbal Questions Responses";
1846
+ var dropdown_and_verbal_questions_responses = "Dropdown and Verbal Questions Responses";
1847
1847
  var lang_us = {
1848
1848
  dashboard: dashboard,
1849
1849
  user: user,
@@ -5481,7 +5481,7 @@ var add_new_accommodation$1 = "Add new accommodation";
5481
5481
  var print_my_accommodations$1 = "Print my accommodations";
5482
5482
  var my_learning_progress$1 = "My Learning Progress";
5483
5483
  var responses_comparisons$1 = "Responses Comparisons";
5484
- var dropdown_and_verbal_questions_responses$1 = "Dropdown and verbal Questions Responses";
5484
+ var dropdown_and_verbal_questions_responses$1 = "Dropdown and Verbal Questions Responses";
5485
5485
  var lang_uk = {
5486
5486
  dashboard: dashboard$1,
5487
5487
  user: user$1,
@@ -32350,7 +32350,9 @@ var TheLayout = function TheLayout(_ref) {
32350
32350
  try {
32351
32351
  var _temp6 = _catch(function () {
32352
32352
  return Promise.resolve(getInfo()).then(function (info) {
32353
- if (!info) {
32353
+ var _info$data, _info$data$roles;
32354
+
32355
+ if (!info || !(info !== null && info !== void 0 && (_info$data = info.data) !== null && _info$data !== void 0 && (_info$data$roles = _info$data.roles) !== null && _info$data$roles !== void 0 && _info$data$roles.includes("Admin"))) {
32354
32356
  resetAuth();
32355
32357
  }
32356
32358