fix blockJobNotSuit.has(it.encryptJobId) logic

This commit is contained in:
geekgeekrun
2024-12-28 18:58:50 +08:00
parent f8644fd753
commit 53937c5e22

View File

@@ -514,8 +514,9 @@ 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.includes(name)) &&
!blockJobNotSuit.has(it.encryptJobId)
)
}
if (tempTargetJobIndexToCheckDetail < 0 && hasReachLastPage) {