Added component to change designation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {Component, inject, input, OnInit, output} from '@angular/core';
|
||||
import {FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||
import {IonicModule, LoadingController, ToastController} from "@ionic/angular";
|
||||
import {GetUserDetailsDto, GetUserStatsDto, UsersService} from "../../services/api";
|
||||
import {GetUserDetailsDto, UsersService} from "../../services/api";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
|
||||
@Component({
|
||||
@@ -74,6 +74,7 @@ export class ProfilFormComponent implements OnInit {
|
||||
name: form.name,
|
||||
username: form.username,
|
||||
email: form.email,
|
||||
designationId: this.user().designationId,
|
||||
designationName: this.user().designationName,
|
||||
creationDate: this.user().creationDate,
|
||||
getUserStatsDto: this.user().getUserStatsDto
|
||||
|
||||
Reference in New Issue
Block a user