Inject dependencies
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import {Router} from "@angular/router";
|
||||
import {SessionDataProviderService} from "../../store/session-data-provider.service";
|
||||
import {WrenchService} from "../../services/wrench.service";
|
||||
import {LoadingController, NavController} from "@ionic/angular";
|
||||
import {TasksDataService} from "../../store/tasks-data.service";
|
||||
import {UsersoffersDataService} from "../../store/usersoffers-data.service";
|
||||
|
||||
@Component({
|
||||
selector: 'app-resources',
|
||||
@@ -7,9 +13,17 @@ import { Component, OnInit } from '@angular/core';
|
||||
})
|
||||
export class ResourcesPage implements OnInit {
|
||||
playGroundData:any;
|
||||
constructor() { }
|
||||
constructor(private router: Router,
|
||||
public sessionDataProviderService: SessionDataProviderService,
|
||||
private wrenchService: WrenchService,
|
||||
private navctr: NavController,
|
||||
private loadingCtrl: LoadingController,
|
||||
public tasksDataService: TasksDataService,
|
||||
public usersoffersDataService: UsersoffersDataService) { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
onBack() {
|
||||
this.navctr.back();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user