@barchart/portfolio-api-common 1.0.177 → 1.0.178
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -784,7 +784,7 @@ module.exports = (() => {
|
|
|
784
784
|
const displaySymbol = extractSymbolForDisplay(positionItem.position);
|
|
785
785
|
|
|
786
786
|
if (this._symbolsDisplay.hasOwnProperty(displaySymbol)) {
|
|
787
|
-
array.remove(this.
|
|
787
|
+
array.remove(this._symbolsDisplay[displaySymbol], i => i === positionItem);
|
|
788
788
|
}
|
|
789
789
|
|
|
790
790
|
const currency = extractCurrency(positionItem.position);
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -1500,7 +1500,7 @@ module.exports = (() => {
|
|
|
1500
1500
|
const displaySymbol = extractSymbolForDisplay(positionItem.position);
|
|
1501
1501
|
|
|
1502
1502
|
if (this._symbolsDisplay.hasOwnProperty(displaySymbol)) {
|
|
1503
|
-
array.remove(this.
|
|
1503
|
+
array.remove(this._symbolsDisplay[displaySymbol], i => i === positionItem);
|
|
1504
1504
|
}
|
|
1505
1505
|
|
|
1506
1506
|
const currency = extractCurrency(positionItem.position);
|