|
@ -1892,9 +1892,13 @@ export class PortfolioService { |
|
|
}); |
|
|
}); |
|
|
} else { |
|
|
} else { |
|
|
const accountIds = uniq( |
|
|
const accountIds = uniq( |
|
|
orders.map(({ accountId }) => { |
|
|
orders |
|
|
return accountId; |
|
|
.filter(({ accountId }) => { |
|
|
}) |
|
|
return accountId; |
|
|
|
|
|
}) |
|
|
|
|
|
.map(({ accountId }) => { |
|
|
|
|
|
return accountId; |
|
|
|
|
|
}) |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
currentAccounts = await this.accountService.accounts({ |
|
|
currentAccounts = await this.accountService.accounts({ |
|
|