don't try to mark entries that are not markable (#1303)

This commit is contained in:
Athou
2024-04-03 15:31:54 +02:00
parent d610f980c7
commit 40e1c70fca
2 changed files with 9 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ export const markEntry = createAppAsyncThunk(
})
},
{
condition: arg => arg.entry.read !== arg.read,
condition: arg => arg.entry.markable && arg.entry.read !== arg.read,
}
)
export const markMultipleEntries = createAppAsyncThunk(