@kodiak-finance/orderly-ui-tradingview 2.8.21-alpha.0 → 2.8.21-beta.3
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.
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -3514,8 +3514,12 @@ function getOptions(options, mode, showVolumeInSamePane = true, externalEnabledF
|
|
|
3514
3514
|
/* @__PURE__ */ new Set([...defaultDisabledFeatures, ...externalDisabledFeatures || []])
|
|
3515
3515
|
);
|
|
3516
3516
|
if (showVolumeInSamePane) {
|
|
3517
|
+
const volumeRelated = [
|
|
3518
|
+
"volume_force_overlay",
|
|
3519
|
+
"create_volume_indicator_by_default"
|
|
3520
|
+
];
|
|
3517
3521
|
mergedDisabledFeatures = mergedDisabledFeatures.filter(
|
|
3518
|
-
(feature) => feature
|
|
3522
|
+
(feature) => !volumeRelated.includes(feature)
|
|
3519
3523
|
);
|
|
3520
3524
|
}
|
|
3521
3525
|
return {
|