|
@@ -3,17 +3,18 @@ import { LoginModule } from './login.module';
|
|
|
import { AuthService } from '../../services/auth.service';
|
|
|
import {
|
|
|
AlertController,
|
|
|
- ModalController,
|
|
|
+ // ModalController,
|
|
|
ToastController,
|
|
|
} from '@ionic/angular';
|
|
|
import * as Parse from 'parse';
|
|
|
-import { Router, ActivatedRoute } from '@angular/router';
|
|
|
+import { ActivatedRoute } from '@angular/router';
|
|
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
|
import { catchError } from 'rxjs/operators';
|
|
|
import { AgreementComponent } from './agreement/agreement.component';
|
|
|
+import { IonInput,IonCheckbox,IonContent,IonButtons, IonIcon ,ModalController} from '@ionic/angular/standalone';
|
|
|
@Component({
|
|
|
standalone: true,
|
|
|
- imports: [LoginModule],
|
|
|
+ imports: [LoginModule,IonInput,IonCheckbox,IonContent,IonButtons,IonIcon],
|
|
|
selector: 'app-login',
|
|
|
templateUrl: './login.component.html',
|
|
|
styleUrls: ['./login.component.scss'],
|
|
@@ -27,10 +28,10 @@ export class LoginComponent implements OnInit {
|
|
|
constructor(
|
|
|
public toastController: ToastController,
|
|
|
public authServ: AuthService,
|
|
|
- private router: Router,
|
|
|
+ // private router: Router,
|
|
|
private activatedRoute: ActivatedRoute,
|
|
|
private http: HttpClient,
|
|
|
- private modalController: ModalController,
|
|
|
+ public modalController: ModalController,
|
|
|
private alertController: AlertController
|
|
|
) {
|
|
|
this.company = authServ.company;
|