Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit c1e128d

Browse files
committed
fix: apply suggestions
1 parent d52dcc1 commit c1e128d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/tradingtimes/tradingTimes.es6

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,13 @@ const initTradingWin = ($html) => {
158158
function changed() {
159159
const val = $(this).val();
160160
const new_active_symbols = local_storage.get('active_symbols');
161-
const new_filtered_symbols = filterRestrictedSymbols(new_active_symbols)
161+
const new_filtered_symbols = filterRestrictedSymbols(new_active_symbols);
162162
header = getObjectMarketSubmarkets(new_filtered_symbols);
163-
164163

165164
if (header[val]) {
166-
const cumulative_submarkets = Object.keys(header[val])
167-
submarket_names.update_list(getSortedSubmarkets(cumulative_submarkets))
168-
};
165+
const cumulative_submarkets = Object.keys(header[val]);
166+
submarket_names.update_list(getSortedSubmarkets(cumulative_submarkets));
167+
};
169168

170169
updateTable(result, market_names.val(), submarket_names.val());
171170
};

0 commit comments

Comments
 (0)