Debug settings. Default login. Environment settings.

This commit is contained in:
Paulo Pinto
2020-08-24 12:55:10 +01:00
parent 88a12ffda5
commit e81a05d2dd
6 changed files with 402 additions and 85 deletions
@@ -30,6 +30,8 @@ export class EventDetailPage implements OnInit {
return;
}
const eventId = paramMap.get('eventId');
console.log(eventId);
/* Load my event detail */
/* this.loadedEvent = this.eventsService.getEvent(eventId); */
this.eventItem = this.eventsService.getEvent(eventId);
+3 -2
View File
@@ -3,6 +3,7 @@ import { Router } from '@angular/router';
import { AuthService } from 'src/app/services/auth.service';
import { User } from 'src/app/models/user.model';
import { ToastService } from 'src/app/services/toast.service';
import { environment } from 'src/environments/environment';
@Component({
@@ -13,8 +14,8 @@ import { ToastService } from 'src/app/services/toast.service';
export class LoginPage implements OnInit {
logstatus: boolean;
username: string = "";
password: string = "";
username: string = environment.defaultuser;
password: string = environment.defaultuserpwd;
userattempt: User;
constructor(