diff --git a/src/app/pages/myfiles/myfiles.page.ts b/src/app/pages/myfiles/myfiles.page.ts
index e11b1e5..67cfdd4 100644
--- a/src/app/pages/myfiles/myfiles.page.ts
+++ b/src/app/pages/myfiles/myfiles.page.ts
@@ -1,6 +1,8 @@
-import { Router } from '@angular/router';
import { Component, OnInit } from '@angular/core';
-import { NavController } from '@ionic/angular';
+import {NavController} from "@ionic/angular";
+import {Router} from "@angular/router";
+import { WrenchService } from 'src/app/services/wrench.service';
+import {SessionDataProviderService} from "../../store/session-data-provider.service";
@Component({
selector: 'app-myfiles',
@@ -14,8 +16,14 @@ export class MyfilesPage implements OnInit {
constructor(
private navctr: NavController,
- private router: Router
- ) { }
+ private router: Router,
+ public sessionDataProviderService: SessionDataProviderService,
+ private wrenchService: WrenchService
+ ) {
+
+
+ }
+
ngOnInit() {
}
@@ -32,5 +40,28 @@ export class MyfilesPage implements OnInit {
this.router.navigate(['enroll']);
}
+ usrData: {
+ action:11205, member_id: number, uid: string, sessionid: string, limit:20, page:1
+ };
+ notificationTotalData:any;
+ notificationData: [];
+ getMyFiles(){
+ this.usrData = {action:11205,
+ member_id: this.sessionDataProviderService.member_id,
+ uid: this.sessionDataProviderService.member_uid,
+ sessionid: this.sessionDataProviderService.session ,
+ limit:20, page:1}
+
+ this.wrenchService.getMyNotifications(this.usrData).subscribe(
+ notificationTotalData => {
+ this.notificationTotalData = notificationTotalData;
+ console.log("NOTIFICATION RETURN->", this.notificationTotalData);
+ this.notificationData = this.notificationTotalData.result_list;
+ // debugger;
+ console.log("JOBS RETURN DATA->", this.notificationData);
+ }
+ );
+
+ }
}
diff --git a/src/app/pages/security/security.page.html b/src/app/pages/security/security.page.html
index 76f163a..a61de15 100644
--- a/src/app/pages/security/security.page.html
+++ b/src/app/pages/security/security.page.html
@@ -41,4 +41,18 @@
Change Password
+
+
+
+ Disable Account
+
+
+
+
+ WrenchBoard fully complies with your data ownership and will remove your account anytime at your request. Please note when completed, it is not reversible.
+
+
+ Help
+ Confirm Disable
+
diff --git a/src/app/services/wrench.service.ts b/src/app/services/wrench.service.ts
index 7ab5612..7fc1c17 100644
--- a/src/app/services/wrench.service.ts
+++ b/src/app/services/wrench.service.ts
@@ -107,6 +107,10 @@ export class WrenchService {
getMyActiveJobsData(usrData) {
return this.getPostData("activetaskslist", usrData);
}
+
+ getMyFiles(usrData){
+ return this.getPostData("myfiles", usrData);
+ }
/*