First viewer header changes

This commit is contained in:
elhombretecla 2021-05-25 16:28:59 +02:00 committed by Andrés Moya
parent fcb4cb38a9
commit e45f7598db
9 changed files with 30 additions and 18 deletions

View file

@ -273,7 +273,7 @@
(mf/use-effect
(mf/deps (:file data))
#(when-let [name (get-in data [:file :name])]
(dom/set-html-title (tr "title.viewer" name))))
(dom/set-html-title (str "\u25b6 " (tr "title.viewer" name)))))
(when (and data state)
[:& viewer-content