|
@ -224,10 +224,7 @@ export class OrderService { |
|
|
order.symbolProfileId |
|
|
order.symbolProfileId |
|
|
]); |
|
|
]); |
|
|
|
|
|
|
|
|
if ( |
|
|
if (symbolProfile.activitiesCount === 0) { |
|
|
['FEE', 'INTEREST', 'ITEM', 'LIABILITY'].includes(order.type) || |
|
|
|
|
|
symbolProfile.activitiesCount === 0 |
|
|
|
|
|
) { |
|
|
|
|
|
await this.symbolProfileService.deleteById(order.symbolProfileId); |
|
|
await this.symbolProfileService.deleteById(order.symbolProfileId); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|