fix: exclude current entry when mark above as read
This commit is contained in:
parent
0b114dc9fe
commit
31ad3373d5
|
|
@ -301,7 +301,7 @@ export const useRegisterEntryCommands = () => {
|
|||
label: t("entry_actions.mark_above_as_read"),
|
||||
run: ({ publishedAt }: { publishedAt: string }) => {
|
||||
return markAllByRoute({
|
||||
startTime: new Date(publishedAt).getTime(),
|
||||
startTime: new Date(publishedAt).getTime() + 1,
|
||||
endTime: Date.now(),
|
||||
})
|
||||
},
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ export const EntryItemContextMenu = ({
|
|||
view: selectedView,
|
||||
filter: payload,
|
||||
time: {
|
||||
startTime: new Date(publishedAt).getTime(),
|
||||
startTime: new Date(publishedAt).getTime() + 1,
|
||||
endTime: Date.now(),
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue