Rating a book will now remove it from the list
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
data.value.rating = rating * 2;
|
||||
if (data.value.rating > 0) {
|
||||
data.value.read = true;
|
||||
data.value.wantread = false;
|
||||
}
|
||||
putRateBook(props.id, {rating: data.value.rating});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user