1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-28 23:07:13 -04:00

New: CustomFormat Score for history grabs

Fixes #5892
Fixes #5893
This commit is contained in:
Qstick
2022-10-17 22:13:19 -05:00
parent 856a55a9c9
commit 53a9c849cb
25 changed files with 312 additions and 147 deletions
@@ -0,0 +1,16 @@
function formatCustomFormatScore(input) {
const score = Number(input);
if (score > 0) {
return `+${score}`;
}
if (score < 0) {
return score;
}
return '';
}
export default formatCustomFormatScore;