clean data
This commit is contained in:
@@ -48,31 +48,33 @@
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
|
||||
<ion-card *ngIf="interestStatus==false;" style="margin: 0px 0px 15px 0px; background-color: aliceblue;">
|
||||
<ion-card-header>
|
||||
<ion-card-subtitle>Interested in the task?</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content>
|
||||
<ion-button color="secondary" size="small" expand="block" (click)="sendJobInterestMessage()">Send Interest Request to Owner</ion-button>
|
||||
<ion-label class="description">{{interest_status}}
|
||||
</ion-label>
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
|
||||
<ion-segment class="common_segment" [(ngModel)]="tabs">
|
||||
<ion-segment-button value="lesson">
|
||||
<ion-label>Show Interest</ion-label>
|
||||
</ion-segment-button>
|
||||
<!-- <ion-segment-button value="lesson">-->
|
||||
<!-- <ion-label>Show Interest</ion-label>-->
|
||||
<!-- </ion-segment-button>-->
|
||||
|
||||
<ion-segment-button value="about">
|
||||
<ion-label>Details</ion-label>
|
||||
</ion-segment-button>
|
||||
|
||||
<ion-segment-button value="message">
|
||||
<ion-label>Message</ion-label>
|
||||
<ion-label>Questions ?</ion-label>
|
||||
</ion-segment-button>
|
||||
</ion-segment>
|
||||
|
||||
<ion-card *ngIf="interestStatus==false;">
|
||||
<ion-card-header>
|
||||
<ion-card-subtitle>Interested in the task?</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content>
|
||||
<ion-button color="secondary" expand="block" (click)="sendJobInterestMessage()">Send Interest Request to Owner</ion-button>
|
||||
<ion-label class="description">{{interest_status}}
|
||||
</ion-label>
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
|
||||
<ion-card *ngIf="interestStatus==true;">
|
||||
<img alt="Silhouette of mountains" src="https://www.wrenchboard.com/assets/images/apps/waiting-task.jpg" />
|
||||
@@ -170,6 +172,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import {WaitingInterestService} from "../../store/waiting-interest.service";
|
||||
})
|
||||
export class MarketdetailPage implements OnInit {
|
||||
@ViewChild('yourmessage') yourmessage;
|
||||
tabs = 'lesson';
|
||||
tabs = 'about';
|
||||
session_image_server:string='';
|
||||
curr_session:string='';
|
||||
offer_code:string='';
|
||||
|
||||
@@ -40,7 +40,7 @@ export class ContactsDataService {
|
||||
member_id: number,
|
||||
uid: string,
|
||||
sessionid: string,
|
||||
raw_contacts : string
|
||||
raw_contacts : any
|
||||
};
|
||||
pPesult:any;
|
||||
async cacheContactsForAccount(contactResult){
|
||||
@@ -48,7 +48,7 @@ export class ContactsDataService {
|
||||
member_id: this.sessionDataProviderService.member_id,
|
||||
uid: this.sessionDataProviderService.member_uid,
|
||||
sessionid: this.sessionDataProviderService.session ,
|
||||
raw_contacts: contactResult.toString()}
|
||||
raw_contacts: contactResult }
|
||||
|
||||
this.wrenchService.processUsersContacts(this.usrData).subscribe(
|
||||
pPesult => {
|
||||
|
||||
Reference in New Issue
Block a user