Click on "start reading" now removes "want to read"
This commit is contained in:
@@ -64,6 +64,7 @@ function onWantReadIconClick() {
|
||||
async function onStartReadIconClick() {
|
||||
if (!data.value.startReadDate) {
|
||||
data.value.startReadDate = today
|
||||
data.value.wantread = false
|
||||
putStartReadDate(props.id, data.value.startReadDate)
|
||||
} else if (!data.value.read) {
|
||||
data.value.startReadDate = null
|
||||
|
||||
Reference in New Issue
Block a user