1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-11-06 09:19:38 +02:00

Fixed: Custom formats with score of 0 showing 1

Closes #5288
This commit is contained in:
Mark McDowall
2022-12-10 09:47:12 -08:00
parent 60470b653a
commit b2b9172c92

View File

@@ -10,7 +10,7 @@ function formatPreferredWordScore(input, customFormatsLength = 0) {
return score;
}
return customFormatsLength > 0 ? '+1' : '';
return customFormatsLength > 0 ? '+0' : '';
}
export default formatPreferredWordScore;