mario-education 2.4.197-level → 2.4.198-level

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
@@ -34979,6 +34979,14 @@ var useCreateRosterUser = function useCreateRosterUser(userList, callback) {
34979
34979
  };
34980
34980
 
34981
34981
  var handleCreateMultiUsers = function handleCreateMultiUsers(listUserIds, teachers) {
34982
+ if (listUserIds.length === 0) {
34983
+ dispatch(marioCore.setAlert({
34984
+ type: "danger",
34985
+ message: "Not found selected user."
34986
+ }));
34987
+ return;
34988
+ }
34989
+
34982
34990
  var isMissingTeacher = listUserIds.some(function (i) {
34983
34991
  var _user$role, _user$role$includes;
34984
34992