()
| 2221 | |
| 2222 | const modelRating = normalizeModelRatingValue(model.rating); |
| 2223 | if (shouldBeVisible && ratingStatus === 'unrated') { |
| 2224 | shouldBeVisible = modelRating === 0; |
| 2225 | } else if (shouldBeVisible && ratingStatus !== 'all' && /^[1-5]$/.test(ratingStatus)) { |
| 2226 | shouldBeVisible = modelRating === parseInt(ratingStatus, 10); |
| 2227 | } |
| 2228 | |
| 2229 | if (shouldBeVisible && ratingMinStatus !== 'all' && /^[1-5]$/.test(ratingMinStatus)) { |
| 2230 | shouldBeVisible = modelRating >= parseInt(ratingMinStatus, 10); |
| 2231 | } |
| 2232 |
no outgoing calls
no test coverage detected