Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ghostfolio/commit/e17b217032cf07938d14306854c32abe22fa748f?style=unified&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Bugfix/fix issue on buy date in position detail dialog ()

* Fix issue on buy date

* Update changelog
pull/301/head
Thomas Kaul 3 years ago committed by GitHub
parent 408e08d43c
commit e17b217032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed the node engine version mismatch in `package.json`
- Fixed an issue on the buy date in the position detail dialog
## 1.39.0 - 16.08.2021

@ -337,10 +337,10 @@ export class PortfolioService {
);
const historicalDataArray: HistoricalDataItem[] = [];
let maxPrice = orders[0].unitPrice;
let minPrice = orders[0].unitPrice;
let maxPrice = Math.max(orders[0].unitPrice, marketPrice);
let minPrice = Math.min(orders[0].unitPrice, marketPrice);
if (!historicalData[aSymbol][firstBuyDate]) {
if (!historicalData?.[aSymbol]?.[firstBuyDate]) {
// Add historical entry for buy date, if no historical data available
historicalDataArray.push({
averagePrice: orders[0].unitPrice,

Loading…
Cancel
Save