display portfolio checkbox flask

This commit is contained in:
Justin 2023-03-17 17:38:03 +08:00 committed by GitHub
parent ab54618cca
commit 01d4a06765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1208,7 +1208,7 @@ function getTradingSettings(page) {
let symbols_el = page.querySelectorAll(".symbol-list")[0];
let symbols = getListItems(symbols_el);
if (whatFeature == 1) {
if ((whatFeature == 1) || (whatFeature == 2)) {
let portfolio = page.querySelectorAll(".portfolio-select")[0].checked;
settings = {
percent: percent,