ignore case sensitive of expectCompanies

This commit is contained in:
geekgeekrun
2025-04-20 14:12:40 +08:00
parent 4a82e9e345
commit 011c22e0fe
2 changed files with 2 additions and 2 deletions
@@ -539,7 +539,7 @@ async function toRecommendPage (hooks) {
tempTargetJobIndexToCheckDetail = jobListData.findIndex(it =>
!blockBossNotNewChat.has(it.encryptBossId) &&
!blockBossNotActive.has(it.encryptBossId) &&
[...expectCompanySet].find(name => it.brandName.includes(name)) &&
[...expectCompanySet].find(name => it.brandName?.toLowerCase?.()?.includes(name.toLowerCase())) &&
!blockJobNotSuit.has(it.encryptJobId)
)
}