Shun Miyazawa пре 5 година
родитељ
комит
6f22607705
1 измењених фајлова са 4 додато и 0 уклоњено
  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');
       }