Skip to content

Commit

Permalink
readerannotation: fix page boxes cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hius07 authored Feb 3, 2025
1 parent a15c294 commit 3ea2429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/apps/reader/modules/readerannotation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ function ReaderAnnotation:addItem(item)
end

function ReaderAnnotation:onAnnotationsModified(items)
if items.update_datetime ~= false then
if items.index_modified == nil then -- not needed when annotation added or removed
items[1].datetime_updated = os.date("%Y-%m-%d %H:%M:%S")
end
end
Expand Down

0 comments on commit 3ea2429

Please sign in to comment.