import { Component, OnInit } from '@angular/core';
import { NavController, ModalController } from '@ionic/angular';
import { NavigationService } from '../navigation.service';
@Component({
selector: 'app-office',
templateUrl: './office.page.html',
styleUrls: ['./office.page.scss'],
})
export class OfficePage implements OnInit {
name: string;
constructor(private navCtrl: NavController, private navigationService: NavigationService, private modalCtrl: ModalController) {
this.name = this.navigationService.getData().name;
}
goBack(){
//this.navCtrl.goBack('/home');
this.modalCtrl.dismiss();
}
ngOnInit() {
}
}