Browse Source

Skip data gathering

pull/2379/head
Thomas 2 years ago
parent
commit
f5d9fc0857
  1. 6
      apps/api/src/app/order/order.controller.ts

6
apps/api/src/app/order/order.controller.ts

@ -147,9 +147,9 @@ export class OrderController {
userId: this.request.user.id
});
if (data.dataSource !== 'MANUAL' && !order.isDraft) {
// Gather symbol data in the background, if data source not
// MANUAL and not draft
if (data.dataSource && !order.isDraft) {
// Gather symbol data in the background, if data source is set
// (not MANUAL) and not draft
this.dataGatheringService.gatherSymbols([
{
dataSource: data.dataSource,

Loading…
Cancel
Save