Shun Miyazawa hace 5 años
padre
commit
6f22607705
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/client/js/components/Admin/Users/UserInviteModal.jsx

+ 4 - 0
src/client/js/components/Admin/Users/UserInviteModal.jsx

@@ -214,6 +214,10 @@ class UserInviteModal extends React.Component {
       this.setState({ emailInputValue: '' });
       this.setState({ invitedEmailList: emailList });
 
+      if (emailList.createdUserList.length > 0) {
+        const createdEmailList = emailList.createdUserList.map((user) => { return user.email });
+        this.showToasterByEmailList(createdEmailList, 'success');
+      }
       if (emailList.existingEmailList.length > 0) {
         this.showToasterByEmailList(emailList.existingEmailList, 'warning');
       }