mario-education 2.5.0-beta → 2.5.1-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
@@ -5583,7 +5583,12 @@ var CSVType;
5583
5583
  CSVType["Others"] = "others";
5584
5584
  })(CSVType || (CSVType = {}));
5585
5585
 
5586
- var buttons = [{
5586
+ var isbButtons = [{
5587
+ text: "Import students",
5588
+ backgroundColor: "#0abde3",
5589
+ type: CSVType.Students
5590
+ }];
5591
+ var othersButtons = [{
5587
5592
  text: "Import class reflections",
5588
5593
  backgroundColor: "#e74c3c",
5589
5594
  type: CSVType.ClassReflection
@@ -5637,6 +5642,7 @@ var useCSVImport = function useCSVImport() {
5637
5642
  React.useEffect(function () {
5638
5643
  document.title = title;
5639
5644
  }, []);
5645
+ var buttons = isCheckDomainIBS ? isbButtons : othersButtons;
5640
5646
  var upload = React.useCallback(function (file) {
5641
5647
  try {
5642
5648
  var _temp8 = function _temp8() {