Feature/make x ray rules order consistent (#134)
* Make order of X-ray rules consistent * Update changelog
This commit is contained in:
parent
b021fbde59
commit
146b5201b5
@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed the sorting in various tables
|
- Fixed the sorting in various tables
|
||||||
|
- Made the order of the rules in the _X-ray_ section consistent
|
||||||
|
|
||||||
## 1.8.0 - 24.05.2021
|
## 1.8.0 - 24.05.2021
|
||||||
|
|
||||||
|
@ -315,18 +315,6 @@ export class PortfolioController {
|
|||||||
impersonationUserId || this.request.user.id
|
impersonationUserId || this.request.user.id
|
||||||
);
|
);
|
||||||
|
|
||||||
let report = await portfolio.getReport();
|
return await portfolio.getReport();
|
||||||
|
|
||||||
if (
|
|
||||||
impersonationId &&
|
|
||||||
!hasPermission(
|
|
||||||
getPermissions(this.request.user.role),
|
|
||||||
permissions.readForeignPortfolio
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
// TODO: Filter out absolute numbers
|
|
||||||
}
|
|
||||||
|
|
||||||
return report;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -402,10 +402,10 @@ export class Portfolio implements PortfolioInterface {
|
|||||||
accountClusterRisk: await this.rulesService.evaluate(
|
accountClusterRisk: await this.rulesService.evaluate(
|
||||||
this,
|
this,
|
||||||
[
|
[
|
||||||
new AccountClusterRiskCurrentInvestment(
|
new AccountClusterRiskInitialInvestment(
|
||||||
this.exchangeRateDataService
|
this.exchangeRateDataService
|
||||||
),
|
),
|
||||||
new AccountClusterRiskInitialInvestment(
|
new AccountClusterRiskCurrentInvestment(
|
||||||
this.exchangeRateDataService
|
this.exchangeRateDataService
|
||||||
),
|
),
|
||||||
new AccountClusterRiskSingleAccount(this.exchangeRateDataService)
|
new AccountClusterRiskSingleAccount(this.exchangeRateDataService)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user