import { Component, OnInit } from '@angular/core';
import {MarketDataService} from "../../store/market-data.service";

@Component({
  selector: 'app-latest-market',
  templateUrl: './latest-market.component.html',
  styleUrls: ['./latest-market.component.scss'],
})
export class LatestMarketComponent implements OnInit {

  show_activejob:boolean = false;

  constructor( public marketDataService:MarketDataService,) { }
jobData:[];
  ngOnInit() {

    this.jobData= this.marketDataService.jobsData;
  //  debugger;
  }

  ionViewWillEnter(){
    this.jobData= this.marketDataService.jobsData;
  }

}
