Skip to content

Commit

Permalink
Merge pull request #48 from sunbird-cb/onboarding
Browse files Browse the repository at this point in the history
SPV loader, btn disable and scroll issue resolved
  • Loading branch information
gohilamariappan authored Jul 22, 2022
2 parents 187b185 + b9947ae commit b5d7a6a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,8 @@ export class CreateUserComponent implements OnInit {
// }
onSubmit(form: any) {
// form.value.department = this.selectedDept ? this.selectedDept.deptName : this.receivedDept.deptName
debugger
this.disableCreateButton = true
this.displayLoader = true
debugger
this.raiseTelemetry()
const userreq = {
personalDetails: {
Expand All @@ -206,7 +204,7 @@ export class CreateUserComponent implements OnInit {
}
this.usersSvc.createUser(userreq).subscribe(
userdata => {
debugger

this.displayLoader = false
this.disableCreateButton = false
if (userdata.userId) {
Expand Down

0 comments on commit b5d7a6a

Please sign in to comment.