admin issue
This commit is contained in:
parent
24ddcd614d
commit
b3e76ac3cc
BIN
ng-seed/Appointment_Frontend_Build.zip
Normal file
BIN
ng-seed/Appointment_Frontend_Build.zip
Normal file
Binary file not shown.
@ -118,7 +118,7 @@ export class UserListComponent implements OnInit {
|
||||
})
|
||||
}
|
||||
hashPassword(password: string){
|
||||
return "*".repeat(password.length)
|
||||
return "*".repeat(6)
|
||||
}
|
||||
ngAfterViewInit() {
|
||||
console.log(this.usersList,this.paginator)
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<div class="branding text-center">
|
||||
<!-- <h2><i class="fa fa-superpowers" aria-hidden="true"></i> <span> Appointment</span>
|
||||
</h2> -->
|
||||
<h2><i class="fa fa-calendar" aria-hidden="true"></i> <span> {{getUserData.BusinessDetails[0].busName}}</span>
|
||||
<h2><i class="fa fa-calendar" aria-hidden="true"></i> <span> {{getUserData.role == 'SADMIN' ? 'Appointment' : getUserData.BusinessDetails[0].busName}}</span>
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
@ -18,7 +18,8 @@
|
||||
<div class="user-pro-wrap">
|
||||
<div class="user-profile-thumb text-center">
|
||||
<div class="user-i">
|
||||
<img [src]="getUserData.logo != '' ? image_view(getUserData.logo) : 'assets/images/userpic.png'" class="rad-full mb-1" width="100" height="100" alt="">
|
||||
<img *ngIf="getUserData.role == 'SADMIN'" src="/assets/images/userpic.png" class="rad-full mb-1" width="100" height="100" alt="">
|
||||
<img *ngIf="getUserData.role != 'SADMIN'" [src]="getUserData.logo != '' ? image_view(getUserData.logo) : 'assets/images/userpic.png'" class="rad-full mb-1" width="100" height="100" alt="">
|
||||
<div> <span>{{getUserData.userName}}</span></div>
|
||||
<div> <span>({{getUserData.role}})</span></div>
|
||||
</div>
|
||||
|
||||
@ -51,13 +51,13 @@ export class AdminLayoutComponent implements OnInit, OnDestroy {
|
||||
getUser: any;
|
||||
// usersLogo: any;
|
||||
private apiUrl = environment.apiEndpoint;
|
||||
getUserData: any;
|
||||
getUserData: any = [];
|
||||
userLength: any = [];
|
||||
constructor(public _con:ConsultantService,private router: Router, public menuItems: MenuItems, public horizontalMenuItems : HorizontalMenuItems, public translate: TranslateService ) {
|
||||
const browserLang: string = translate.getBrowserLang();
|
||||
translate.use(browserLang.match(/en|fr/) ? browserLang : 'en');
|
||||
this.getUser = localStorage.getItem('user_role')
|
||||
this.getUserDetails()
|
||||
|
||||
}
|
||||
|
||||
//08/02/2023
|
||||
@ -69,7 +69,7 @@ users() {
|
||||
//
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
this.getUserDetails()
|
||||
const elemSidebar = <HTMLElement>document.querySelector('.sidebar-container ');
|
||||
|
||||
if (window.matchMedia(`(min-width: 960px)`).matches && !this.isMac() && !this.compactSidebar && this.layoutDir != 'rtl') {
|
||||
|
||||
@ -2,7 +2,12 @@ export const environment = {
|
||||
production: true,
|
||||
environmentName: 'Production Environment',//Localhost Environment.
|
||||
// apiEndpoint:'http://venbainfotech.com:5000/',
|
||||
apiEndpoint:'https://192.168.159.24:8080/api/',
|
||||
// apiEndpoint:'https://192.168.159.24:8080/api/',
|
||||
apiEndpoint:'https://api.venbait.in/api/',
|
||||
|
||||
//EndUser URL
|
||||
endUserUrl:'https://venbainfotech.com/appointment/#/customer/',
|
||||
|
||||
firebase : {
|
||||
apiKey: "AIzaSyBVPQ6C7cg5l8I-o7WSmmXdioMa4C0ZKNM",
|
||||
authDomain: "phone-otp-5d22e.firebaseapp.com",
|
||||
|
||||
@ -10,8 +10,8 @@ export const environment = {
|
||||
// apiEndpoint:'http://192.168.1.20:8080/api/',
|
||||
// apiEndpoint:'https://api.venbait.in/api/',
|
||||
// apiEndpoint:'http://venbainfotech.com:5000/api/',
|
||||
apiEndpoint:'http://192.168.1.8:8080/api/',
|
||||
// apiEndpoint:'https://api.venbait.in/api/',
|
||||
// apiEndpoint:'http://192.168.1.8:8080/api/',
|
||||
apiEndpoint:'https://api.venbait.in/api/',
|
||||
|
||||
//EndUser URL
|
||||
endUserUrl:'https://venbainfotech.com/appointment/#/customer/',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user