Add country field

This commit is contained in:
Rene Vergara 2022-01-19 10:26:25 -06:00
parent ea8febe368
commit 881bb1baf1
8 changed files with 15 additions and 7 deletions

View File

@ -38,7 +38,8 @@ export class FullnodeService{
postal: '',
phone: '',
paid: false,
website: ''
website: '',
country: ''
};
constructor(private http: HttpClient, public userService: UserService){

View File

@ -31,7 +31,8 @@ export class HeaderComponent implements OnInit, OnDestroy {
postal: '',
phone: '',
paid: false,
website: ''
website: '',
country: ''
};
private session: string | null = '';
public heightUpdate: Observable<number>;

View File

@ -36,7 +36,8 @@ export class ItemListComponent implements OnInit{
postal: '',
phone: '',
paid: false,
website: ''
website: '',
country: ''
};
public price: number = 1;
public ownerUpdate: Observable<Owner>;

View File

@ -54,7 +54,8 @@ export class LoginComponent implements OnInit, AfterViewInit {
postal: '',
phone: '',
paid: false,
website: ''
website: '',
country: ''
};
private FullnodeSub: Subscription = new Subscription();
private UserSub: Subscription = new Subscription();

View File

@ -38,7 +38,8 @@ export class OrderService {
postal: '',
phone: '',
paid: false,
website: ''
website: '',
country: ''
},
order: {
address: '',

View File

@ -15,4 +15,5 @@ export interface Owner {
phone: string;
paid: boolean;
website: string;
country: string;
}

View File

@ -33,7 +33,8 @@ export class UserService{
postal: '',
phone: '',
paid: false,
website: ''
website: '',
country: ''
},
txs : []
};

View File

@ -44,7 +44,8 @@ export class ViewerComponent implements OnInit {
postal: '',
phone: '',
paid: false,
website: ''
website: '',
country: ''
};
public addrUpdate: Observable<string>;
public ownerUpdate: Observable<Owner>;