Skip to content

Commit 50b84c5

Browse files
committed
fix: reduce max filter length
1 parent b2e4237 commit 50b84c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/lib/skill_tree.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ const tradeStatNames: { [key: number]: { [key: string]: string } } = {
385385
};
386386

387387
export const constructQuery = (jewel: number, conqueror: string, result: SearchWithSeed[]) => {
388-
const max_filter_length = 50;
388+
const max_filter_length = 45;
389389
const max_filters = 4;
390390
const max_query_length = max_filter_length * max_filters;
391391
const final_query = [];
@@ -417,7 +417,7 @@ export const constructQuery = (jewel: number, conqueror: string, result: SearchW
417417
type: 'count',
418418
value: { min: 1 },
419419
filters: [],
420-
disabled: i == 0 ? false : true
420+
disabled: i != 0
421421
});
422422
}
423423

0 commit comments

Comments
 (0)