bugfixing

This commit is contained in:
MuslemRahimi 2024-07-16 16:46:47 +02:00
parent 3af2a3856a
commit d5ad019bbe
2 changed files with 7 additions and 6 deletions

View File

@ -38,7 +38,7 @@
let highestOpenInterestTicker;
let audio;
let muted = false;
let muted = true;
let socket;
let filterQuery = '';
let previousCallVolume = 0; //This is needed to play the sound only if it changes.
@ -405,9 +405,8 @@ function calculateStats(optionList) {
}
function handleInput(event) {
function handleInput(event) {
filterQuery = event.target.value;
console.log(filterQuery)
let newData = [];
setTimeout(() => {
if (filterQuery?.length !== 0) {
@ -429,6 +428,8 @@ function calculateStats(optionList) {
rawData = data?.getOptionsFlowFeed;
optionList = rawData?.slice(0, 100);
}
calculateStats(rawData);
}, 200);
}
@ -501,7 +502,6 @@ $: {
}
calculateStats(rawData);
}
}

View File

@ -38,7 +38,7 @@
let highestOpenInterestTicker;
let audio;
let muted = false;
let muted = true;
let socket;
let filterQuery = '';
let previousCallVolume = 0; //This is needed to play the sound only if it changes.
@ -380,7 +380,6 @@ function calculateStats(optionList) {
function handleInput(event) {
filterQuery = event.target.value;
console.log(filterQuery)
let newData = [];
setTimeout(() => {
if (filterQuery?.length !== 0) {
@ -402,6 +401,8 @@ function calculateStats(optionList) {
rawData = data?.getOptionsZeroDTE;
optionList = rawData?.slice(0, 100);
}
calculateStats(rawData);
}, 200);
}