mario-core 2.9.226-layout → 2.9.227-layout

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
@@ -1851,6 +1851,7 @@ var mario_tools = "MARIO TOOLS";
1851
1851
  var customize = "Customize";
1852
1852
  var techical_settings = "Technical Settings";
1853
1853
  var data_import_export = "Data Import/Export";
1854
+ var question_text = "Question text";
1854
1855
  var lang_us = {
1855
1856
  dashboard: dashboard,
1856
1857
  user: user,
@@ -3682,7 +3683,8 @@ var lang_us = {
3682
3683
  mario_tools: mario_tools,
3683
3684
  customize: customize,
3684
3685
  techical_settings: techical_settings,
3685
- data_import_export: data_import_export
3686
+ data_import_export: data_import_export,
3687
+ question_text: question_text
3686
3688
  };
3687
3689
 
3688
3690
  var dashboard$1 = "Dashboard";
@@ -3763,7 +3765,7 @@ var edit_question$1 = "Edit question";
3763
3765
  var question_type$1 = "Question Type";
3764
3766
  var category$1 = "Category";
3765
3767
  var sub_category$1 = "Sub Category";
3766
- var question_text = "Question text";
3768
+ var question_text$1 = "Question text";
3767
3769
  var text$1 = "Text";
3768
3770
  var is_default_question_for_one_to_one$1 = "Is default question for one-to-one";
3769
3771
  var default_question_for_students_or_teachers$1 = "Default question for students or teachers";
@@ -5577,7 +5579,7 @@ var lang_uk = {
5577
5579
  question_type: question_type$1,
5578
5580
  category: category$1,
5579
5581
  sub_category: sub_category$1,
5580
- question_text: question_text,
5582
+ question_text: question_text$1,
5581
5583
  text: text$1,
5582
5584
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$1,
5583
5585
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$1,
@@ -7410,7 +7412,7 @@ var edit_question$2 = "تعديل سؤال";
7410
7412
  var question_type$2 = "نوع السؤال";
7411
7413
  var category$2 = "الفئة";
7412
7414
  var sub_category$2 = "الفئة الفرعية";
7413
- var question_text$1 = "نص السؤال";
7415
+ var question_text$2 = "نص السؤال";
7414
7416
  var text$2 = "النص";
7415
7417
  var is_default_question_for_one_to_one$2 = "سؤال افتراضي لجلسات التعلّم الفردية";
7416
7418
  var default_question_for_students_or_teachers$2 = "سؤال افتراضي للطلبة أو المعلمين ";
@@ -9216,7 +9218,7 @@ var lang_ar = {
9216
9218
  question_type: question_type$2,
9217
9219
  category: category$2,
9218
9220
  sub_category: sub_category$2,
9219
- question_text: question_text$1,
9221
+ question_text: question_text$2,
9220
9222
  text: text$2,
9221
9223
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$2,
9222
9224
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$2,
@@ -11038,7 +11040,7 @@ var edit_question$3 = "Editar pregunta";
11038
11040
  var question_type$3 = "Tipo de Pregunta";
11039
11041
  var category$3 = "Categoría";
11040
11042
  var sub_category$3 = "Subcategoría";
11041
- var question_text$2 = "Texto de la pregunta";
11043
+ var question_text$3 = "Texto de la pregunta";
11042
11044
  var text$3 = "Texto";
11043
11045
  var is_default_question_for_one_to_one$3 = "Es la pregunta predeterminada para uno a uno";
11044
11046
  var default_question_for_students_or_teachers$3 = "Pregunta predeterminada para estudiantes o profesores";
@@ -11775,7 +11777,7 @@ var lang_es = {
11775
11777
  question_type: question_type$3,
11776
11778
  category: category$3,
11777
11779
  sub_category: sub_category$3,
11778
- question_text: question_text$2,
11780
+ question_text: question_text$3,
11779
11781
  text: text$3,
11780
11782
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$3,
11781
11783
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$3,
@@ -32157,8 +32159,8 @@ var TheContent = function TheContent(_ref) {
32157
32159
  var routes = _ref.routes;
32158
32160
  var location = reactRouterDom.useLocation();
32159
32161
  var pathname = location.pathname;
32160
- var dashboard = pathname === "/" ? "box-container" : "";
32161
- var padding = pathname === "/admin" ? "pt-3" : "";
32162
+ var dashboard = !pathname.includes("/admin") ? "box-container" : "";
32163
+ var padding = pathname.includes("/admin") ? "pt-3" : "";
32162
32164
  return React__default.createElement("main", {
32163
32165
  className: "c-main " + dashboard
32164
32166
  }, React__default.createElement(react.CContainer, {
@@ -32840,13 +32842,14 @@ var EmailTemplateList = function EmailTemplateList() {
32840
32842
  var style$1 = {
32841
32843
  width: "100%",
32842
32844
  position: "fixed",
32843
- bottom: 0,
32845
+ bottom: 83,
32844
32846
  backgroundColor: "#fff",
32845
32847
  borderTop: "1px solid #ddd",
32846
32848
  marginTop: "20px",
32847
32849
  marginLeft: "-30px",
32848
32850
  padding: "8px",
32849
- zIndex: 1
32851
+ zIndex: 1,
32852
+ paddingTop: 18
32850
32853
  };
32851
32854
 
32852
32855
  var DetailActionButtons = function DetailActionButtons(_ref) {
@@ -35166,6 +35169,11 @@ var useUserList = function useUserList() {
35166
35169
  email = _res$data2.email,
35167
35170
  profileImageFileName = _res$data2.profileImageFileName;
35168
35171
  localStorage.setItem(ACCESS_TOKEN, token);
35172
+
35173
+ if (roles.includes("Admin")) {
35174
+ localStorage.setItem("ROLES", "Admin");
35175
+ }
35176
+
35169
35177
  localStorage.removeItem(NOTIFICATION_ALERT_KEY);
35170
35178
  dispatch(setUser({
35171
35179
  id: id,