-
diff --git a/store-front/src/app/components/my-profile/my-profile.component.ts b/store-front/src/app/components/my-profile/my-profile.component.ts
index 20e6297..203301b 100644
--- a/store-front/src/app/components/my-profile/my-profile.component.ts
+++ b/store-front/src/app/components/my-profile/my-profile.component.ts
@@ -21,6 +21,7 @@ import {Order} from '../../models/order';
export class MyProfileComponent implements OnInit {
private serverPath = AppConst.serverPath;
+ private dataFetched=false;
private loginError:boolean = false;
private loggedIn = false;
private credential = {'username':'', 'password':''};
@@ -260,6 +261,8 @@ export class MyProfileComponent implements OnInit {
break;
}
}
+
+ this.dataFetched=true;
},
error => {
console.log(error);
@@ -304,5 +307,7 @@ export class MyProfileComponent implements OnInit {
this.userShipping.userShippingState="";
this.defaultShippingSet=false;
+
+
}
}