Shun Miyazawa 4 лет назад
Родитель
Сommit
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');
       }