Skip to content

Commit

Permalink
CRIC-1759
Browse files Browse the repository at this point in the history
  • Loading branch information
saakhil committed Jan 9, 2024
1 parent 79226ed commit a0d080d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/adminOnly/AdminOnly.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ const AdminOnly = hh(class AdminOnly extends Component {

componentDidMount() {
this._isMounted = true;
// this.loadORSPAdmins();
this.loadReviewers()
this.loadORSPAdmins();
// this.loadReviewers()
this.init();
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/main/LandingPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ const LandingPage = hh(class LandingPage extends Component{

componentDidMount = async () => {
this._isMounted = true;
// this.loadORSPAdmins();
this.loadReviewers();
this.loadORSPAdmins();
// this.loadReviewers();
await this.init()
};

Expand Down
3 changes: 2 additions & 1 deletion src/main/webapp/project/NewProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const NewProject = hh(class NewProject extends Component {
});
this.loadOptions();
this.checkDefault();
this.getReviewerDetails();
// this.getReviewerDetails();
}

async checkDefault() {
Expand Down Expand Up @@ -257,6 +257,7 @@ const NewProject = hh(class NewProject extends Component {
}

// Auto assign reviewers
//
// if (this.state.assignedCount === 0) {
// extraProperties.push({name: 'assignedAdmin', value: this.state.reviewersData[0].userjson});
// extraProperties.push({name: 'reviewerAssigned', value: this.state.reviewersData[0].name});
Expand Down

0 comments on commit a0d080d

Please sign in to comment.