admin-update-profile.component.ts 837 Bytes
import { Component, AfterViewInit, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { ApplicationService } from '../services/application.service';

declare var jQuery: any;

@Component({
    templateUrl: './app/pages/admin-update-profile.component.html'
})
export class AdminUpdateProfileComponent 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');
    }
}