fix bug
This commit is contained in:
@ -86,7 +86,7 @@ export class EditSaleComponentsAddComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
return this.service
|
return this.service
|
||||||
.request(this.service.$api_get_channel, params)
|
.request(this.service.$api_get_channel, params)
|
||||||
.pipe(map((res: any) => (res as any[]).map(i => ({ label: `${i.name}/${i.telephone}`, value: i.channelId } as SFSchemaEnum))))
|
.pipe(map((res: any) => (res as any[]).map(i => ({ label: `${i.name}/${i.telephone}`, value: i.id } as SFSchemaEnum))))
|
||||||
.toPromise();
|
.toPromise();
|
||||||
} else {
|
} else {
|
||||||
return of([]);
|
return of([]);
|
||||||
|
|||||||
Reference in New Issue
Block a user