🐛 Replace :use-for-thumbnail? with :use-for-thumbnail

This commit is contained in:
Andrey Antukh 2023-09-05 12:01:40 +02:00
parent 0f133ca431
commit 36506ec360
9 changed files with 31 additions and 16 deletions

View file

@ -144,8 +144,8 @@
(run! pmap/load!))
;; Then proceed to find the frame set for thumbnail
(d/seek :use-for-thumbnail?
(d/seek #(or (:use-for-thumbnail %)
(:use-for-thumbnail? %)) ; NOTE: backward comp (remove on v1.21)
(for [page (-> data :pages-index vals)
frame (-> page :objects ctt/get-frames)]
(assoc frame :page-id (:id page)))))