1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-20 18:17:40 +00:00

Bugfix for edit custom ratings in list edit mode

Bugfix for deleting custom enum in list edit mode
This commit is contained in:
Ozzie Isaacs
2021-10-30 15:50:17 +02:00
parent 481e52b503
commit a8317d900b
3 changed files with 5 additions and 1 deletions

View File

@@ -645,6 +645,9 @@ function singlecheckboxFormatter(value, row){
}
function ratingFormatter(value, row) {
if (value == 0) {
return "";
}
return (value/2);
}