fix(ui): согласовать настройки и контекст Community
This commit is contained in:
1 parent
6e6558bde9
commit
5a23dfcfe6
15 files changed
+33
-12
No files matched your search
@@ -518,7 +518,7 @@ export function buildLiveOptimizerData(
|
||||
sorted.sort((a, b) => b.probabilityOptimal - a.probabilityOptimal)
|
||||
const best = sorted[0] ?? null
|
||||
|
||||
const commRecs: CommRec[] = flatRules.slice(0, 24).map((rule) => {
|
||||
const commRecs: CommRec[] = flatRules.filter(rule=>rule.sourceServerId===home.id).slice(0, 24).map((rule) => {
|
||||
const curProb = 38 + (rule.community.length % 12)
|
||||
const recProb = best ? Math.min(92, curProb + 18 + (best.score % 10)) : curProb
|
||||
const rec = best
|
||||
|
||||
Reference in new issue
Block a user