Skip to content

Commit

Permalink
maxCollaborators - limit
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-ramos committed Oct 14, 2024
1 parent 485d915 commit 31ed3ef
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file added src/components/B4ACodeTree/icons/add-file 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/dashboard/Settings/Collaborators.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default class Collaborators extends React.Component {
sendInvite(featuresPermission, classesPermission, owner) {
return this.context.sendEmailToInviteCollaborator(this.state.currentEmail, featuresPermission, classesPermission, owner).then((response) => {
if (response.status === 200) {
this.setState({ lastError: '', inviteCollab: false, showDialog: false, lastSuccess: 'The invite has been sent!', currentEmail: '', showBtnCollaborator: false, waiting_collaborators: response.data.response });
this.setState({ lastError: '', inviteCollab: false, showDialog: false, lastSuccess: 'The invite has been sent!', currentEmail: '', showBtnCollaborator: false, waiting_collaborators: response.length /*waiting_collaborators: response.data.response*/ });
setTimeout(() => {
this.setState({ lastSuccess: '' })
}, 5000);
Expand Down

0 comments on commit 31ed3ef

Please sign in to comment.