setup-test-account.component.ts 1 KB
import { Component, AfterViewInit, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { ApplicationService } from '../services/application.service';
import {DateValueAccessor} from '../components/shared/date-value-accessor';

declare var jQuery: any;

@Component({
    templateUrl: '../components/setup-test-account.component.html',
    styleUrls: ['../../assets/styles/bootstrap-datetimepicker.min.css', '../../assets/styles/fixed_table_rc.css']
})
export class SetupTestAccountComponent implements AfterViewInit, OnInit {


    constructor(private application: ApplicationService, private router: Router) {

    }

    ngAfterViewInit(): void {
        this.initializeUIElements();
    }

    initializeUIElements(): void {



    }

    ngOnInit(): void {
        /*if (this.application.currentUser == null) {
            this.router.navigate(['/login']);
        }*/
    }

    showAlert(id: string): void {
        jQuery('#' + id).modal('show');
    }
}